public abstract class AnnotationTrait extends java.lang.Object implements Trait
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationTrait.Provider<T extends AnnotationTrait>
Trait provider that expects a boolean value of true.
|
Constructor and Description |
---|
AnnotationTrait(ShapeId id,
ObjectNode node) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object other) |
SourceLocation |
getSourceLocation()
Gets the source location of a value.
|
int |
hashCode() |
Node |
toNode()
Converts a value to a
Node . |
ShapeId |
toShapeId()
Gets the shape ID of the trait.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
flatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteName
public AnnotationTrait(ShapeId id, ObjectNode node)
public final ShapeId toShapeId()
Trait
public final Node toNode()
ToNode
Node
.public final SourceLocation getSourceLocation()
FromSourceLocation
getSourceLocation
in interface FromSourceLocation
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object