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, waitflatMapStream, getIdiomaticTraitName, getIdiomaticTraitName, isSynthetic, makeAbsoluteName, makeAbsoluteNamepublic AnnotationTrait(ShapeId id, ObjectNode node)
public final ShapeId toShapeId()
Traitpublic final Node toNode()
ToNodeNode.public final SourceLocation getSourceLocation()
FromSourceLocationgetSourceLocation in interface FromSourceLocationpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Object