Package org.revapi
Class Reference<E extends Element<E>>
- java.lang.Object
-
- org.revapi.Reference<E>
-
- Type Parameters:
E
- the base type of elements
public class Reference<E extends Element<E>> extends Object
Represents a reference between two elements determined in some way by the API analyzer. The type of the relationship is specified by theReference.Type
interface which is basically opaque outside of the API analyzer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Reference.Type<E extends Element<E>>
Represents the type of the relationship between two elements.
-
Constructor Summary
Constructors Constructor Description Reference(E element, Reference.Type<E> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
E
getElement()
Reference.Type<E>
getType()
int
hashCode()
-
-
-
Constructor Detail
-
Reference
public Reference(E element, Reference.Type<E> type)
-
-