Package org.codehaus.mojo.animal_sniffer
Class Clazz
java.lang.Object
org.codehaus.mojo.animal_sniffer.Clazz
- All Implemented Interfaces:
Serializable
Represents a class signature.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
name
The name of the class. -
signatures
The set of methods and constants that form the signature of the class. -
superClass
The superclass of the class. -
superInterfaces
The list of interfaces implemented by the class. -
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
Clazz
Creates a new class signature.- Parameters:
name- the name of the class.signatures- the signatures.superClass- the superclass.superInterfaces- the interfaces implemented by the class.
-
Clazz
Merges two class instances.- Parameters:
defA- the first instance.defB- the second instance- Throws:
ClassCastException- if the two instances have different names or if the superclasses differ.
-
-
Method Details
-
getName
-
getSignatures
-
getSuperClass
-
getSuperInterfaces
-