public class NumberRangeAnnotation extends Object implements TypeAnnotation
Constructor and Description |
---|
NumberRangeAnnotation(Number from,
Number to) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Optional<Number> |
getFrom() |
String |
getName()
A name of the annotation
|
Optional<Number> |
getTo() |
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.