Class MergedJavaAnnotations
- java.lang.Object
-
- com.g2forge.alexandria.java.reflect.annotations.MergedJavaAnnotations
-
- All Implemented Interfaces:
IJavaAnnotations
public class MergedJavaAnnotations extends Object implements IJavaAnnotations
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MergedJavaAnnotations.MergedJavaAnnotationsBuilder
-
Field Summary
Fields Modifier and Type Field Description protected List<IJavaAnnotations>
annotations
-
Constructor Summary
Constructors Constructor Description MergedJavaAnnotations(IJavaAnnotations... annotations)
MergedJavaAnnotations(List<IJavaAnnotations> annotations)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MergedJavaAnnotations.MergedJavaAnnotationsBuilder
builder()
protected boolean
canEqual(Object other)
boolean
equals(Object o)
<T extends Annotation>
TgetAnnotation(Class<T> type)
List<IJavaAnnotations>
getAnnotations()
Collection<? extends Annotation>
getAnnotations(JavaScope scope)
int
hashCode()
boolean
isAnnotated(Class<? extends Annotation> type)
MergedJavaAnnotations.MergedJavaAnnotationsBuilder
toBuilder()
String
toString()
-
-
-
Field Detail
-
annotations
protected final List<IJavaAnnotations> annotations
-
-
Constructor Detail
-
MergedJavaAnnotations
public MergedJavaAnnotations(IJavaAnnotations... annotations)
-
MergedJavaAnnotations
@ConstructorProperties("annotations") public MergedJavaAnnotations(List<IJavaAnnotations> annotations)
-
-
Method Detail
-
getAnnotation
public <T extends Annotation> T getAnnotation(Class<T> type)
- Specified by:
getAnnotation
in interfaceIJavaAnnotations
-
getAnnotations
public Collection<? extends Annotation> getAnnotations(JavaScope scope)
- Specified by:
getAnnotations
in interfaceIJavaAnnotations
-
isAnnotated
public boolean isAnnotated(Class<? extends Annotation> type)
- Specified by:
isAnnotated
in interfaceIJavaAnnotations
-
builder
public static MergedJavaAnnotations.MergedJavaAnnotationsBuilder builder()
-
toBuilder
public MergedJavaAnnotations.MergedJavaAnnotationsBuilder toBuilder()
-
getAnnotations
public List<IJavaAnnotations> getAnnotations()
-
canEqual
protected boolean canEqual(Object other)
-
-