public class LengthAnnotation extends Object implements TypeAnnotation
Constructor and Description |
---|
LengthAnnotation(Number min,
Number max) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Optional<? extends Number> |
getMax() |
Optional<? extends Number> |
getMin() |
String |
getName()
A name of the annotation
|
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isPublic
public static final String NAME
public String getName()
TypeAnnotation
getName
in interface TypeAnnotation
Copyright © 2018. All rights reserved.