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 boolean
equals(Object o)
List<Annotation>
getAnnotations()
String
getName()
TypeImpl
getType()
int
hashCode()
boolean
isArray()
String
toString()
-
-
-
Method Detail
-
getName
public String getName()
- Specified by:
getName
in interfaceTypedField
- Returns:
- field name
-
getType
public TypeImpl getType()
- Specified by:
getType
in interfaceTypedField
- Returns:
- field type
-
isArray
public boolean isArray()
- Specified by:
isArray
in interfaceTypedField
- Returns:
- is the field content an array
-
getAnnotations
public List<Annotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceTypedField
- Returns:
- the associate
annotations
-
-