org.ow2.util.scan.api.metadata.structures
Class JClass
java.lang.Object
org.ow2.util.scan.api.metadata.structures.JClass
- All Implemented Interfaces:
- Serializable
public final class JClass
- extends Object
- implements Serializable
ASM class representation.
- Author:
- Gael Lalire
- See Also:
- Serialized Form
JClass
public JClass(int version,
int access,
String name,
String signature,
String superName,
String[] interfaces)
- Constructor.
- Parameters:
version - versionaccess - accessname - namesignature - signaturesuperName - superNameinterfaces - interfaces
getName
public String getName()
- Returns:
- name
getVersion
public int getVersion()
- Returns:
- version
getAccess
public int getAccess()
- Returns:
- access
getSignature
public String getSignature()
- Returns:
- signature
getSuperName
public String getSuperName()
- Returns:
- superName
getInterfaces
public String[] getInterfaces()
- Returns:
- interfaces
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
- Returns:
- name hascode
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
- Parameters:
obj - the object to compare
- Returns:
- true if equals
toString
public String toString()
- Returns a string representation of the class.
- Overrides:
toString in class Object
- Returns:
- a string representation of the object.
Copyright © 2007-2012 OW2 Consortium. All Rights Reserved.