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 ElementValue
elementValue
protected BaseElementValuePair
elementValuePairs
protected ObjectType
type
-
Constructor Summary
Constructors Modifier Constructor Description AnnotationReference(ObjectType type)
AnnotationReference(ObjectType type, BaseElementValuePair elementValuePairs)
AnnotationReference(ObjectType type, ElementValue elementValue)
protected
AnnotationReference(ObjectType type, ElementValue elementValue, BaseElementValuePair elementValuePairs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ReferenceVisitor visitor)
boolean
equals(java.lang.Object o)
ElementValue
getElementValue()
BaseElementValuePair
getElementValuePairs()
ObjectType
getType()
int
hashCode()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
accept
public void accept(ReferenceVisitor visitor)
-
-