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 interfaceTypeImplClasses in org.openjdk.jmc.flightrecorder.writer that implement Type Modifier and Type Class Description classResolvableTypeMethods in org.openjdk.jmc.flightrecorder.writer that return Type Modifier and Type Method Description TypeTypedValueBuilderImpl. getType()Methods in org.openjdk.jmc.flightrecorder.writer with parameters of type Type Modifier and Type Method Description TypedFieldBuilderTypesImpl. fieldBuilder(String fieldName, Type fieldType)booleanResolvableType. 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 TypeTypes. 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 TypeTypes. 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 TypeTypes. 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 TypeTypes. 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 TypeTypes. getOrAdd(String name, String supertype, TypeStructure typeStructure)Retrieve the given type or create it a-new if it hasn't been added yet.abstract TypeTypes. getOrAdd(String name, Consumer<TypeStructureBuilder> builderCallback)Retrieve the given type or create it a-new if it hasn't been added yet.abstract TypeTypes. 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 TypeTypes. getOrAdd(Types.Predefined type, Consumer<TypeStructureBuilder> builderCallback)Retrieve the given type or create it a-new if it hasn't been added yet.TypeAnnotation. getType()abstract TypeRecording. getType(String typeName)Try retrieving a previously registered custom type.abstract TypeRecording. getType(Types.JDK type)A convenience method to easily get to JDK registered custom types in type-safe manner.TypeTypedField. getType()TypeTypedValue. getType()TypeTypedValueBuilder. getType()abstract TypeTypes. getType(String name)Retrieve the type by its name.abstract TypeTypes. getType(String name, boolean asResolvable)Retrieve the type by its name.abstract TypeTypes. getType(Types.Predefined type)A convenience shortcut to get a Type instance corresponding to the Types.Predefined typeabstract TypeRecording. registerAnnotationType(String name)Try registering a user annotation type.abstract TypeRecording. registerAnnotationType(String name, Consumer<TypeStructureBuilder> builderCallback)Try registering a user annotation type.TypeTypeStructureBuilder. registerAs(String name, String supertype)A shortcut to build-and-register functionalityabstract TypeRecording. registerEventType(String name)Try registering a user event type with no additional attributes.abstract TypeRecording. registerEventType(String name, Consumer<TypeStructureBuilder> builderCallback)Try registering a user event type.abstract TypeRecording. registerType(String name, String supertype, Consumer<TypeStructureBuilder> builderCallback)Try registering a custom type.abstract TypeRecording. registerType(String name, Consumer<TypeStructureBuilder> builderCallback)Try registering a custom type.TypeTypeStructureBuilder. 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 TAnnotatedElementBuilder. addAnnotation(Type type)Add an annotation of the given typeTAnnotatedElementBuilder. addAnnotation(Type type, String value)Add an annotation of the given type and with the given valueTAnnotatedElementBuilder. addAnnotation(Type type, Consumer<TypedValueBuilder> builderCallback)Add an annotation of the given type and with the given values arrayTypeStructureBuilderTypeStructureBuilder. addField(String name, Type type)Add a field of the given name and typeTypeStructureBuilderTypeStructureBuilder. addField(String name, Type type, Consumer<TypedFieldBuilder> fieldCallback)Add a field of the given name and type and with a customization callbackabstract TypedFieldBuilderTypes. fieldBuilder(String fieldName, Type fieldType)static booleanAnnotation. isAnnotationType(Type type)Check whether a particular Type is an annotation typebooleanType. isUsedBy(Type other)Checks whether this particular type is used as a field type in the other type.static Types.BuiltinTypes.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 intTypeByUsageComparator. compare(Type t1, Type t2)
-