Class TypedFieldImpl
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.writer.TypedFieldImpl
-
- All Implemented Interfaces:
TypedField
public final class TypedFieldImpl extends Object implements TypedField
A representation of a typed field with a name
-
-
Constructor Summary
Constructors Constructor Description TypedFieldImpl(TypeImpl type, String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)List<Annotation>getAnnotations()StringgetName()TypeImplgetType()inthashCode()booleanisArray()StringtoString()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getNamein interfaceTypedField- Returns:
- field name
-
getType
public TypeImpl getType()
- Specified by:
getTypein interfaceTypedField- Returns:
- field type
-
isArray
public boolean isArray()
- Specified by:
isArrayin interfaceTypedField- Returns:
- is the field content an array
-
getAnnotations
public List<Annotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceTypedField- Returns:
- the associate
annotations
-
-