Uses of Class
net.bytebuddy.description.method.MethodDescription.Token
-
Packages that use MethodDescription.Token Package Description net.bytebuddy.description.method Contains descriptions of Java methods and constructors as well as their parameters.net.bytebuddy.dynamic This package contains classes and interfaces that are connected to writing the byte stream that represents a Java type that is dynamically created and for loading this type into a running JVM process.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicTypeby enhancing a given type.net.bytebuddy.dynamic.scaffold.subclass All classes and types in this package are related to creating aDynamicTypeby creating a subclass of a given type.net.bytebuddy.matcher Contains an API for matching Java byte code entities. -
-
Uses of MethodDescription.Token in net.bytebuddy.description.method
Fields in net.bytebuddy.description.method with type parameters of type MethodDescription.Token Modifier and Type Field Description private java.util.List<? extends MethodDescription.Token>MethodList.ForTokens. tokensThe list of method tokens to represent.Methods in net.bytebuddy.description.method that return MethodDescription.Token Modifier and Type Method Description MethodDescription.TokenMethodDescription.Token. accept(TypeDescription.Generic.Visitor<? extends TypeDescription.Generic> visitor)Transforms the types represented by this token by applying the given visitor to them.MethodDescription.TokenMethodDescription.AbstractBase. asToken(ElementMatcher<? super TypeDescription> matcher)Returns a token representative of this type dependant.Methods in net.bytebuddy.description.method that return types with arguments of type MethodDescription.Token Modifier and Type Method Description ByteCodeElement.Token.TokenList<MethodDescription.Token>MethodList.AbstractBase. asTokenList(ElementMatcher<? super TypeDescription> matcher)Transforms the list of method descriptions into a list of detached tokens.ByteCodeElement.Token.TokenList<MethodDescription.Token>MethodList. asTokenList(ElementMatcher<? super TypeDescription> matcher)Transforms the list of method descriptions into a list of detached tokens.ByteCodeElement.Token.TokenList<MethodDescription.Token>MethodList.Empty. asTokenList(ElementMatcher<? super TypeDescription> matcher)Transforms the list of method descriptions into a list of detached tokens.Constructors in net.bytebuddy.description.method with parameters of type MethodDescription.Token Constructor Description ForTokens(TypeDescription declaringType, MethodDescription.Token... token)Creates a new list of method descriptions for a list of detached tokens.Latent(TypeDescription declaringType, MethodDescription.Token token)Creates a new latent method description.Constructor parameters in net.bytebuddy.description.method with type arguments of type MethodDescription.Token Constructor Description ForTokens(TypeDescription declaringType, java.util.List<? extends MethodDescription.Token> tokens)Creates a new list of method descriptions for a list of detached tokens. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as MethodDescription.Token Modifier and Type Field Description private MethodDescription.TokenDynamicType.Builder.AbstractBase.Adapter.MethodDefinitionAdapter. tokenA token representing the currently defined method.private MethodDescription.TokenTransformer.ForMethod.TransformedMethod. tokenThe method representing the transformed method.Fields in net.bytebuddy.dynamic with type parameters of type MethodDescription.Token Modifier and Type Field Description private Transformer<MethodDescription.Token>Transformer.ForMethod. transformerThe transformer to be applied.Methods in net.bytebuddy.dynamic that return MethodDescription.Token Modifier and Type Method Description MethodDescription.TokenTransformer.ForMethod.MethodModifierTransformer. transform(TypeDescription instrumentedType, MethodDescription.Token target)Transforms the supplied target.Methods in net.bytebuddy.dynamic with parameters of type MethodDescription.Token Modifier and Type Method Description MethodDescription.TokenTransformer.ForMethod.MethodModifierTransformer. transform(TypeDescription instrumentedType, MethodDescription.Token target)Transforms the supplied target.Constructors in net.bytebuddy.dynamic with parameters of type MethodDescription.Token Constructor Description MethodDefinitionAdapter(MethodDescription.Token token)Creates a new method definition adapter.TransformedMethod(TypeDescription instrumentedType, TypeDefinition declaringType, MethodDescription.Token token, MethodDescription.InDefinedShape methodDescription)Creates a new transformed method.Constructor parameters in net.bytebuddy.dynamic with type arguments of type MethodDescription.Token Constructor Description ForMethod(Transformer<MethodDescription.Token> transformer)Creates a new transforming method transformer. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold with type parameters of type MethodDescription.Token Modifier and Type Field Description private java.util.List<? extends MethodDescription.Token>InstrumentedType.Default. methodTokensA list of method tokens describing the methods of the instrumented type.Methods in net.bytebuddy.dynamic.scaffold with parameters of type MethodDescription.Token Modifier and Type Method Description InstrumentedType.WithFlexibleNameInstrumentedType.Default. withMethod(MethodDescription.Token token)Creates a new instrumented type that includes a new method or constructor.InstrumentedType.WithFlexibleNameInstrumentedType.Frozen. withMethod(MethodDescription.Token token)Creates a new instrumented type that includes a new method or constructor.InstrumentedType.WithFlexibleNameInstrumentedType.WithFlexibleName. withMethod(MethodDescription.Token token)Creates a new instrumented type that includes a new method or constructor.InstrumentedTypeInstrumentedType. withMethod(MethodDescription.Token token)Creates a new instrumented type that includes a new method or constructor. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic.scaffold.inline
Fields in net.bytebuddy.dynamic.scaffold.inline with type parameters of type MethodDescription.Token Modifier and Type Field Description private java.util.Set<MethodDescription.Token>RebaseDynamicTypeBuilder.RebaseableMatcher. tokensA set of method tokens representing all instrumented methods.Methods in net.bytebuddy.dynamic.scaffold.inline that return types with arguments of type MethodDescription.Token Modifier and Type Method Description protected static ElementMatcher<MethodDescription.Token>RebaseDynamicTypeBuilder.RebaseableMatcher. of(TypeDescription instrumentedType, MethodList<?> instrumentedMethods)Returns a matcher that filters any method that should not be rebased.Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type MethodDescription.Token Modifier and Type Method Description booleanRebaseDynamicTypeBuilder.RebaseableMatcher. matches(MethodDescription.Token target)Matches a target against this element matcher.Method parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type MethodDescription.Token Modifier and Type Method Description static MethodRebaseResolverMethodRebaseResolver.Default. make(TypeDescription instrumentedType, java.util.Set<? extends MethodDescription.Token> rebaseableMethodTokens, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, MethodNameTransformer methodNameTransformer)Creates a new method rebase resolver.Constructor parameters in net.bytebuddy.dynamic.scaffold.inline with type arguments of type MethodDescription.Token Constructor Description RebaseableMatcher(java.util.Set<MethodDescription.Token> tokens)Creates a new matcher for identifying rebasable methods. -
Uses of MethodDescription.Token in net.bytebuddy.dynamic.scaffold.subclass
Methods in net.bytebuddy.dynamic.scaffold.subclass that return types with arguments of type MethodDescription.Token Modifier and Type Method Description protected abstract java.util.List<MethodDescription.Token>ConstructorStrategy.Default. doExtractConstructors(TypeDescription instrumentedType)Extracts the relevant method tokens of the instrumented type's constructors.java.util.List<MethodDescription.Token>ConstructorStrategy.Default. extractConstructors(TypeDescription instrumentedType)Extracts constructors for a given super type.java.util.List<MethodDescription.Token>ConstructorStrategy.Default.WithMethodAttributeAppenderFactory. extractConstructors(TypeDescription instrumentedType)Extracts constructors for a given super type.java.util.List<MethodDescription.Token>ConstructorStrategy. extractConstructors(TypeDescription instrumentedType)Extracts constructors for a given super type.java.util.List<MethodDescription.Token>ConstructorStrategy.ForDefaultConstructor. extractConstructors(TypeDescription instrumentedType)Extracts constructors for a given super type. -
Uses of MethodDescription.Token in net.bytebuddy.matcher
Fields in net.bytebuddy.matcher declared as MethodDescription.Token Modifier and Type Field Description private MethodDescription.TokenLatentMatcher.ForMethodToken. tokenA token representing the method being matched.Constructors in net.bytebuddy.matcher with parameters of type MethodDescription.Token Constructor Description ForMethodToken(MethodDescription.Token token)Creates a new latent matcher for a method token.
-