Class AnnotationReference
- java.lang.Object
-
- org.jd.core.v1.model.javasyntax.reference.AnnotationReference
-
- All Implemented Interfaces:
BaseAnnotationReference,Reference
- Direct Known Subclasses:
AnnotationElementValue
public class AnnotationReference extends java.lang.Object implements BaseAnnotationReference
-
-
Field Summary
Fields Modifier and Type Field Description protected ElementValueelementValueprotected BaseElementValuePairelementValuePairsprotected ObjectTypetype
-
Constructor Summary
Constructors Modifier Constructor Description AnnotationReference(ObjectType type)AnnotationReference(ObjectType type, BaseElementValuePair elementValuePairs)AnnotationReference(ObjectType type, ElementValue elementValue)protectedAnnotationReference(ObjectType type, ElementValue elementValue, BaseElementValuePair elementValuePairs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(ReferenceVisitor visitor)booleanequals(java.lang.Object o)ElementValuegetElementValue()BaseElementValuePairgetElementValuePairs()ObjectTypegetType()inthashCode()
-
-
-
Field Detail
-
type
protected ObjectType type
-
elementValue
protected ElementValue elementValue
-
elementValuePairs
protected BaseElementValuePair elementValuePairs
-
-
Constructor Detail
-
AnnotationReference
public AnnotationReference(ObjectType type)
-
AnnotationReference
public AnnotationReference(ObjectType type, ElementValue elementValue)
-
AnnotationReference
public AnnotationReference(ObjectType type, BaseElementValuePair elementValuePairs)
-
AnnotationReference
protected AnnotationReference(ObjectType type, ElementValue elementValue, BaseElementValuePair elementValuePairs)
-
-
Method Detail
-
getType
public ObjectType getType()
-
getElementValue
public ElementValue getElementValue()
-
getElementValuePairs
public BaseElementValuePair getElementValuePairs()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
accept
public void accept(ReferenceVisitor visitor)
-
-