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.Typeinterface which is basically opaque outside of the API analyzer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReference.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 booleanequals(Object o)EgetElement()Reference.Type<E>getType()inthashCode()
-
-
-
Constructor Detail
-
Reference
public Reference(E element, Reference.Type<E> type)
-
-