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.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new class signature, with an initially empty set of member signatures.Creates a new class signature.Merges two class instances. -
Method Summary
-
Constructor Details
-
Clazz
Creates a new class signature, with an initially empty set of member signatures.- Parameters:
name- the name of the class.superClass- the superclass.superInterfaces- the interfaces implemented by the class; a copy of this array is created.
-
Clazz
Creates a new class signature.- Parameters:
name- the name of the class.signatures- the signatures; a copy of this set is created.superClass- the superclass.superInterfaces- the interfaces implemented by the class; a copy of this array is created.
-
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
-