Uses of Interface
org.openjdk.jmc.flightrecorder.writer.api.Type
-
Packages that use Type Package Description org.openjdk.jmc.flightrecorder.writer org.openjdk.jmc.flightrecorder.writer.api org.openjdk.jmc.flightrecorder.writer.util -
-
Uses of Type in org.openjdk.jmc.flightrecorder.writer
Subinterfaces of Type in org.openjdk.jmc.flightrecorder.writer Modifier and Type Interface Description interface
TypeImpl
Classes in org.openjdk.jmc.flightrecorder.writer that implement Type Modifier and Type Class Description class
ResolvableType
Methods in org.openjdk.jmc.flightrecorder.writer that return Type Modifier and Type Method Description Type
TypedValueBuilderImpl. getType()
Methods in org.openjdk.jmc.flightrecorder.writer with parameters of type Type Modifier and Type Method Description TypedFieldBuilder
TypesImpl. fieldBuilder(String fieldName, Type fieldType)
boolean
ResolvableType. isUsedBy(Type other)
-
Uses of Type in org.openjdk.jmc.flightrecorder.writer.api
Methods in org.openjdk.jmc.flightrecorder.writer.api that return Type Modifier and Type Method Description abstract Type
Types. getOrAdd(String name, boolean withConstantPool, Consumer<TypeStructureBuilder> builderCallback)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(String name, String supertype, boolean withConstantPool, Consumer<TypeStructureBuilder> builderCallback)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(String name, String supertype, boolean withConstantPool, TypeStructure typeStructure)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(String name, String supertype, Consumer<TypeStructureBuilder> builderCallback)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(String name, String supertype, TypeStructure typeStructure)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(String name, Consumer<TypeStructureBuilder> builderCallback)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(Types.Predefined type, String supertype, Consumer<TypeStructureBuilder> builderCallback)
Retrieve the given type or create it a-new if it hasn't been added yet.abstract Type
Types. getOrAdd(Types.Predefined type, Consumer<TypeStructureBuilder> builderCallback)
Retrieve the given type or create it a-new if it hasn't been added yet.Type
Annotation. getType()
abstract Type
Recording. getType(String typeName)
Try retrieving a previously registered custom type.abstract Type
Recording. getType(Types.JDK type)
A convenience method to easily get to JDK registered custom types in type-safe manner.Type
TypedField. getType()
Type
TypedValue. getType()
Type
TypedValueBuilder. getType()
abstract Type
Types. getType(String name)
Retrieve the type by its name.abstract Type
Types. getType(String name, boolean asResolvable)
Retrieve the type by its name.abstract Type
Types. getType(Types.Predefined type)
A convenience shortcut to get a Type instance corresponding to the Types.Predefined typeabstract Type
Recording. registerAnnotationType(String name)
Try registering a user annotation type.abstract Type
Recording. registerAnnotationType(String name, Consumer<TypeStructureBuilder> builderCallback)
Try registering a user annotation type.Type
TypeStructureBuilder. registerAs(String name, String supertype)
A shortcut to build-and-register functionalityabstract Type
Recording. registerEventType(String name)
Try registering a user event type with no additional attributes.abstract Type
Recording. registerEventType(String name, Consumer<TypeStructureBuilder> builderCallback)
Try registering a user event type.abstract Type
Recording. registerType(String name, String supertype, Consumer<TypeStructureBuilder> builderCallback)
Try registering a custom type.abstract Type
Recording. registerType(String name, Consumer<TypeStructureBuilder> builderCallback)
Try registering a custom type.Type
TypeStructureBuilder. selfType()
A special placeholder type to refer to the type being currently built (otherwise impossible because the type is not yet ready).Methods in org.openjdk.jmc.flightrecorder.writer.api with parameters of type Type Modifier and Type Method Description T
AnnotatedElementBuilder. addAnnotation(Type type)
Add an annotation of the given typeT
AnnotatedElementBuilder. addAnnotation(Type type, String value)
Add an annotation of the given type and with the given valueT
AnnotatedElementBuilder. addAnnotation(Type type, Consumer<TypedValueBuilder> builderCallback)
Add an annotation of the given type and with the given values arrayTypeStructureBuilder
TypeStructureBuilder. addField(String name, Type type)
Add a field of the given name and typeTypeStructureBuilder
TypeStructureBuilder. addField(String name, Type type, Consumer<TypedFieldBuilder> fieldCallback)
Add a field of the given name and type and with a customization callbackabstract TypedFieldBuilder
Types. fieldBuilder(String fieldName, Type fieldType)
static boolean
Annotation. isAnnotationType(Type type)
Check whether a particular Type is an annotation typeboolean
Type. isUsedBy(Type other)
Checks whether this particular type is used as a field type in the other type.static Types.Builtin
Types.Builtin. ofType(Type type)
Constructors in org.openjdk.jmc.flightrecorder.writer.api with parameters of type Type Constructor Description Annotation(Type type)
Create a new Annotation instanceAnnotation(Type type, String value)
Create a new Annotation instanceAnnotation(Type type, String value, Annotation... annotations)
Create a new Annotation instanceAnnotation(Type type, Consumer<TypedValueBuilder> builderCallback, Annotation... annotations)
Create a new Annotation instanceAnnotation(Type type, Map<String,? extends TypedFieldValue> attributes, Annotation... annotations)
Create a new Annotation instance -
Uses of Type in org.openjdk.jmc.flightrecorder.writer.util
Methods in org.openjdk.jmc.flightrecorder.writer.util with parameters of type Type Modifier and Type Method Description int
TypeByUsageComparator. compare(Type t1, Type t2)
-