Top Description Inners Fields Constructors Methods
org.easymock.bytebuddy.implementation

public Class ToStringMethod

extends Object
implements Implementation
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.implementation.Implementation, org.easymock.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable
Annotations
@Enhance
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, org.easymock.bytebuddy.build.HashCodeAndEqualsPlugin, org.easymock.bytebuddy.description.field.FieldDescription, org.easymock.bytebuddy.description.method.MethodDescription, org.easymock.bytebuddy.description.type.TypeDescription, org.easymock.bytebuddy.dynamic.scaffold.InstrumentedType, org.easymock.bytebuddy.implementation.bytecode.ByteCodeAppender, .Duplication, .StackManipulation, .TypeCreation, org.easymock.bytebuddy.implementation.bytecode.constant.TextConstant, org.easymock.bytebuddy.implementation.bytecode.member.FieldAccess, .MethodInvocation, .MethodReturn, .MethodVariableAccess, org.easymock.bytebuddy.matcher.ElementMatcher, .ElementMatchers, org.easymock.bytebuddy.utility.nullability.MaybeNull, org.easymock.bytebuddy.jar.asm.MethodVisitor, .Opcodes, java.util.ArrayList, .List

An implementation of Object#toString() that concatenates the String representation of all fields that are declared by a class.

Nested and Inner Type Summary

Modifier and TypeClass and Description
protected static class
ToStringMethod.Appender

An appender to implement ToStringMethod.

public static interface
ToStringMethod.PrefixResolver

A prefix resolver is responsible for providing a value that is prepended to a Object#toString() implementation.

protected static enum
ToStringMethod.ValueConsumer

A value consumer that is responsible for adding a field value to the string creating StringBuilder.

Field Summary

Modifier and TypeField and Description
private final String
definer

A token that is added between a field's name and its value.

private final String
end

A token that is added after the last field value.

private final ElementMatcher.Junction<? super FieldDescription.InDefinedShape>
ignored

A filter that determines what fields to ignore.

private final ToStringMethod.PrefixResolver
prefixResolver

A resolver for the prefix of a String representation.

private final String
separator

A token that is added between two field values.

private final String
start

A token that is added between the prefix and the first field value.

private static final MethodDescription.InDefinedShape
private static final MethodDescription.InDefinedShape

Constructor Summary

AccessConstructor and Description
protected
ToStringMethod(ToStringMethod.PrefixResolver
A resolver for the prefix of a String representation.
prefixResolver
)

Creates a new toString implementation.

private
ToStringMethod(ToStringMethod.PrefixResolver
A resolver for the prefix of a String representation.
prefixResolver
,
String
A token that is added between the prefix and the first field value.
start
,
String
A token that is added after the last field value.
end
,
String
A token that is added between two field values.
separator
,
String
A token that is added between a field's name and its value.
definer
,
ElementMatcher.Junction<? super FieldDescription.InDefinedShape>
A filter that determines what fields to ignore.
ignored
)

Creates a new toString implementation.

Method Summary

Modifier and TypeMethod and Description
public ToStringMethod.Appender
appender(Implementation.Target
The target of the current implementation.
implementationTarget
)

Implements org.easymock.bytebuddy.implementation.Implementation.appender.

Creates a byte code appender that determines the implementation of the instrumented type's methods.
public static ToStringMethod

Returns:

A Object#toString() implementation that is prefixed by the supplied string.
prefixedBy
(String
The prefix to use.
prefix
)

Creates a Object#toString() implementation that is prefixed by the supplied string.

public static ToStringMethod

Returns:

A Object#toString() implementation that is prefixed by the string that is supplied by the given prefix resolver.
prefixedBy
(ToStringMethod.PrefixResolver
The prefix resolver to use.
prefixResolver
)

Creates a Object#toString() implementation that is prefixed by the string that is supplied by the given prefix resolver.

public static ToStringMethod

Returns:

A Object#toString() implementation that is prefixed by the canonical class name of the instrumented type.
prefixedByCanonicalClassName
()

Creates a Object#toString() implementation that is prefixed by the canonical class name of the instrumented type.

public static ToStringMethod

Returns:

A Object#toString() implementation that is prefixed by the fully qualified class name of the instrumented type.
prefixedByFullyQualifiedClassName
()

Creates a Object#toString() implementation that is prefixed by the fully qualified class name of the instrumented type.

public static ToStringMethod

Returns:

A Object#toString() implementation that is prefixed by the simple class name of the instrumented type.
prefixedBySimpleClassName
()

Creates a Object#toString() implementation that is prefixed by the simple class name of the instrumented type.

public InstrumentedType
prepare(InstrumentedType
The instrumented type in its current form.
instrumentedType
)

Implements org.easymock.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable.prepare.

Prepares a given instrumented type.
public ToStringMethod

Returns:

A new version of this toString method implementation that also ignores any fields matched by the provided matcher.
withIgnoredFields
(ElementMatcher<? super FieldDescription.InDefinedShape>
A matcher to specify any fields that should be ignored.
ignored
)

Returns a new version of this toString method implementation that ignores the specified fields additionally to any previously specified fields.

public Implementation

Returns:

A new instance of this implementation that uses the supplied tokens.
withTokens
(String
A token that is added between the prefix and the first field value.
start
,
String
A token that is added after the last field value.
end
,
String
A token that is added between two field values.
separator
,
String
A token that is added between two field values.
definer
)

Changes the tokens used for the Object#toString() implementation.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

definerback to summary
private final String definer

A token that is added between a field's name and its value.

endback to summary
private final String end

A token that is added after the last field value.

ignoredback to summary
private final ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored

A filter that determines what fields to ignore.

prefixResolverback to summary
private final ToStringMethod.PrefixResolver prefixResolver

A resolver for the prefix of a String representation.

separatorback to summary
private final String separator

A token that is added between two field values.

startback to summary
private final String start

A token that is added between the prefix and the first field value.

STRING_BUILDER_CONSTRUCTORback to summary
private static final MethodDescription.InDefinedShape STRING_BUILDER_CONSTRUCTOR

The StringBuilder#StringBuilder(String) constructor.

TO_STRINGback to summary
private static final MethodDescription.InDefinedShape TO_STRING

The StringBuilder#toString() method.

Constructor Detail

ToStringMethodback to summary
protected ToStringMethod(ToStringMethod.PrefixResolver prefixResolver)

Creates a new toString implementation.

Parameters
prefixResolver:ToStringMethod.PrefixResolver

A resolver for the prefix of a String representation.

ToStringMethodback to summary
private ToStringMethod(ToStringMethod.PrefixResolver prefixResolver, String start, String end, String separator, String definer, ElementMatcher.Junction<? super FieldDescription.InDefinedShape> ignored)

Creates a new toString implementation.

Parameters
prefixResolver:ToStringMethod.PrefixResolver

A resolver for the prefix of a String representation.

start:String

A token that is added between the prefix and the first field value.

end:String

A token that is added after the last field value.

separator:String

A token that is added between two field values.

definer:String

A token that is added between a field's name and its value.

ignored:ElementMatcher.Junction<? super FieldDescription.InDefinedShape>

A filter that determines what fields to ignore.

Method Detail

appenderback to summary
public ToStringMethod.Appender appender(Implementation.Target implementationTarget)

Implements org.easymock.bytebuddy.implementation.Implementation.appender.

Doc from org.easymock.bytebuddy.implementation.Implementation.appender.

Creates a byte code appender that determines the implementation of the instrumented type's methods.

Parameters
implementationTarget:Implementation.Target

The target of the current implementation.

Returns:ToStringMethod.Appender

A byte code appender for implementing methods delegated to this implementation. This byte code appender is also responsible for handling methods that were added by this implementation on the call to Implementation#prepare(InstrumentedType).

prefixedByback to summary
public static ToStringMethod prefixedBy(String prefix)

Creates a Object#toString() implementation that is prefixed by the supplied string.

Parameters
prefix:String

The prefix to use.

Returns:ToStringMethod

A Object#toString() implementation that is prefixed by the supplied string.

prefixedByback to summary
public static ToStringMethod prefixedBy(ToStringMethod.PrefixResolver prefixResolver)

Creates a Object#toString() implementation that is prefixed by the string that is supplied by the given prefix resolver.

Parameters
prefixResolver:ToStringMethod.PrefixResolver

The prefix resolver to use.

Returns:ToStringMethod

A Object#toString() implementation that is prefixed by the string that is supplied by the given prefix resolver.

prefixedByCanonicalClassNameback to summary
public static ToStringMethod prefixedByCanonicalClassName()

Creates a Object#toString() implementation that is prefixed by the canonical class name of the instrumented type.

Returns:ToStringMethod

A Object#toString() implementation that is prefixed by the canonical class name of the instrumented type.

prefixedByFullyQualifiedClassNameback to summary
public static ToStringMethod prefixedByFullyQualifiedClassName()

Creates a Object#toString() implementation that is prefixed by the fully qualified class name of the instrumented type.

Returns:ToStringMethod

A Object#toString() implementation that is prefixed by the fully qualified class name of the instrumented type.

prefixedBySimpleClassNameback to summary
public static ToStringMethod prefixedBySimpleClassName()

Creates a Object#toString() implementation that is prefixed by the simple class name of the instrumented type.

Returns:ToStringMethod

A Object#toString() implementation that is prefixed by the simple class name of the instrumented type.

prepareback to summary
public InstrumentedType prepare(InstrumentedType instrumentedType)

Implements org.easymock.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable.prepare.

Doc from org.easymock.bytebuddy.dynamic.scaffold.InstrumentedType.Prepareable.prepare.

Prepares a given instrumented type.

Parameters
instrumentedType:InstrumentedType

The instrumented type in its current form.

Returns:InstrumentedType

The prepared instrumented type.

withIgnoredFieldsback to summary
public ToStringMethod withIgnoredFields(ElementMatcher<? super FieldDescription.InDefinedShape> ignored)

Returns a new version of this toString method implementation that ignores the specified fields additionally to any previously specified fields.

Parameters
ignored:ElementMatcher<? super FieldDescription.InDefinedShape>

A matcher to specify any fields that should be ignored.

Returns:ToStringMethod

A new version of this toString method implementation that also ignores any fields matched by the provided matcher.

withTokensback to summary
public Implementation withTokens(String start, String end, String separator, String definer)

Changes the tokens used for the Object#toString() implementation.

Parameters
start:String

A token that is added between the prefix and the first field value.

end:String

A token that is added after the last field value.

separator:String

A token that is added between two field values.

definer:String

A token that is added between two field values.

Returns:Implementation

A new instance of this implementation that uses the supplied tokens.

org.easymock.bytebuddy.implementation back to summary

protected Class ToStringMethod.Appender

extends Object
implements ByteCodeAppender
Class Inheritance
  • java.lang.Object
  • org.easymock.bytebuddy.implementation.ToStringMethod.Appender
All Implemented Interfaces
org.easymock.bytebuddy.implementation.bytecode.ByteCodeAppender
Annotations
@Enhance

An appender to implement ToStringMethod.

Field Summary

Modifier and TypeField and Description
private final String
definer

A token that is added between a field's name and its value.

private final String
end

A token that is added after the last field value.

private final List<? extends FieldDescription.InDefinedShape>
fieldDescriptions

The list of fields to include in the Object#toString() implementation.

private final String
prefix

The prefix to use.

private final String
separator

A token that is added between two field values.

private final String
start

A token that is added between the prefix and the first field value.

Constructor Summary

AccessConstructor and Description
protected
Appender(String
The prefix to use.
prefix
,
String
A token that is added between the prefix and the first field value.
start
,
String
A token that is added after the last field value.
end
,
String
A token that is added between two field values.
separator
,
String
A token that is added between a field's name and its value.
definer
,
List<? extends FieldDescription.InDefinedShape>
The list of fields to include in the Object#toString() implementation.
fieldDescriptions
)

Creates a new appender.

Method Summary

Modifier and TypeMethod and Description
public ByteCodeAppender.Size
apply(MethodVisitor
The method visitor to which the byte code appender writes its code to.
methodVisitor
,
Implementation.Context
The implementation context of the current type creation process.
implementationContext
,
MethodDescription
The method that is the target of the instrumentation.
instrumentedMethod
)

Implements org.easymock.bytebuddy.implementation.bytecode.ByteCodeAppender.apply.

Applies this byte code appender to a type creation process.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

definerback to summary
private final String definer

A token that is added between a field's name and its value.

endback to summary
private final String end

A token that is added after the last field value.

fieldDescriptionsback to summary
private final List<? extends FieldDescription.InDefinedShape> fieldDescriptions

The list of fields to include in the Object#toString() implementation.

prefixback to summary
private final String prefix

The prefix to use.

separatorback to summary
private final String separator

A token that is added between two field values.

startback to summary
private final String start

A token that is added between the prefix and the first field value.

Constructor Detail

Appenderback to summary
protected Appender(String prefix, String start, String end, String separator, String definer, List<? extends FieldDescription.InDefinedShape> fieldDescriptions)

Creates a new appender.

Parameters
prefix:String

The prefix to use.

start:String

A token that is added between the prefix and the first field value.

end:String

A token that is added after the last field value.

separator:String

A token that is added between two field values.

definer:String

A token that is added between a field's name and its value.

fieldDescriptions:List<? extends FieldDescription.InDefinedShape>

The list of fields to include in the Object#toString() implementation.

Method Detail

applyback to summary
public ByteCodeAppender.Size apply(MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod)

Implements org.easymock.bytebuddy.implementation.bytecode.ByteCodeAppender.apply.

Doc from org.easymock.bytebuddy.implementation.bytecode.ByteCodeAppender.apply.

Applies this byte code appender to a type creation process.

Parameters
methodVisitor:MethodVisitor

The method visitor to which the byte code appender writes its code to.

implementationContext:Implementation.Context

The implementation context of the current type creation process.

instrumentedMethod:MethodDescription

The method that is the target of the instrumentation.

Returns:ByteCodeAppender.Size

The required size for the applied byte code to run.

org.easymock.bytebuddy.implementation back to summary

public Interface ToStringMethod.PrefixResolver

Known Direct Implementers
org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver.Default, org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver.ForFixedValue

A prefix resolver is responsible for providing a value that is prepended to a Object#toString() implementation.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum
ToStringMethod.PrefixResolver.Default

Default implementations for a prefix resolver.

public static class
ToStringMethod.PrefixResolver.ForFixedValue

A prefix resolver that returns a fixed value.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The value to be prefixed.
resolve
(TypeDescription
The instrumented type.
instrumentedType
)

Resolves the prefixed value.

Method Detail

resolveback to summary
public String resolve(TypeDescription instrumentedType)

Resolves the prefixed value.

Parameters
instrumentedType:TypeDescription

The instrumented type.

Returns:String

The value to be prefixed.

Annotations
@MaybeNull
org.easymock.bytebuddy.implementation back to summary

public sealed Enum ToStringMethod.PrefixResolver.Default

extends Enum<ToStringMethod.PrefixResolver.Default>
implements PrefixResolver
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver

Default implementations for a prefix resolver.

Field Summary

Modifier and TypeField and Description
public static final ToStringMethod.PrefixResolver.Default
CANONICAL_CLASS_NAME

A prefix resolver for the instrumented type's fully qualified class name.

public static final ToStringMethod.PrefixResolver.Default
FULLY_QUALIFIED_CLASS_NAME

A prefix resolver for the instrumented type's fully qualified class name.

public static final ToStringMethod.PrefixResolver.Default
SIMPLE_CLASS_NAME

A prefix resolver for the instrumented type's simple class name.

Constructor Summary

AccessConstructor and Description
private

Field Detail

CANONICAL_CLASS_NAMEback to summary
public static final ToStringMethod.PrefixResolver.Default CANONICAL_CLASS_NAME

A prefix resolver for the instrumented type's fully qualified class name.

FULLY_QUALIFIED_CLASS_NAMEback to summary
public static final ToStringMethod.PrefixResolver.Default FULLY_QUALIFIED_CLASS_NAME

A prefix resolver for the instrumented type's fully qualified class name.

SIMPLE_CLASS_NAMEback to summary
public static final ToStringMethod.PrefixResolver.Default SIMPLE_CLASS_NAME

A prefix resolver for the instrumented type's simple class name.

Constructor Detail

Defaultback to summary
private Default()

Method Detail

valueOfback to summary
public static ToStringMethod.PrefixResolver.Default valueOf(String name)
valuesback to summary
public static ToStringMethod.PrefixResolver.Default[] values()
org.easymock.bytebuddy.implementation back to summary

public Class ToStringMethod.PrefixResolver.ForFixedValue

extends Object
implements PrefixResolver
Class Inheritance
  • java.lang.Object
  • org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver.ForFixedValue
All Implemented Interfaces
org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver
Annotations
@Enhance

A prefix resolver that returns a fixed value.

Field Summary

Modifier and TypeField and Description
private final String
prefix

The prefix to prepend.

Constructor Summary

AccessConstructor and Description
protected
ForFixedValue(String
The prefix to prepend.
prefix
)

Creates a new prefix resolver that returns a fixed value.

Method Summary

Modifier and TypeMethod and Description
public String
resolve(TypeDescription
The instrumented type.
instrumentedType
)

Implements org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver.resolve.

Resolves the prefixed value.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

prefixback to summary
private final String prefix

The prefix to prepend.

Constructor Detail

ForFixedValueback to summary
protected ForFixedValue(String prefix)

Creates a new prefix resolver that returns a fixed value.

Parameters
prefix:String

The prefix to prepend.

Method Detail

resolveback to summary
public String resolve(TypeDescription instrumentedType)

Implements org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver.resolve.

Doc from org.easymock.bytebuddy.implementation.ToStringMethod.PrefixResolver.resolve.

Resolves the prefixed value.

Parameters
instrumentedType:TypeDescription

The instrumented type.

Returns:String

The value to be prefixed.

org.easymock.bytebuddy.implementation back to summary

protected sealed Enum ToStringMethod.ValueConsumer

extends Enum<ToStringMethod.ValueConsumer>
implements StackManipulation
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.implementation.bytecode.StackManipulation

A value consumer that is responsible for adding a field value to the string creating StringBuilder.

Field Summary

Modifier and TypeField and Description
public static final ToStringMethod.ValueConsumer
BOOLEAN

A value consumer for a boolean value.

public static final ToStringMethod.ValueConsumer
BOOLEAN_ARRAY

A value consumer for a boolean array type.

public static final ToStringMethod.ValueConsumer
BYTE_ARRAY

A value consumer for a byte array type.

public static final ToStringMethod.ValueConsumer
CHARACTER

A value consumer for a char value.

public static final ToStringMethod.ValueConsumer
CHARACTER_ARRAY

A value consumer for a char array type.

public static final ToStringMethod.ValueConsumer
CHARACTER_SEQUENCE

A value consumer for a CharSequence value.

public static final ToStringMethod.ValueConsumer
DOUBLE

A value consumer for a double value.

public static final ToStringMethod.ValueConsumer
DOUBLE_ARRAY

A value consumer for a double array type.

public static final ToStringMethod.ValueConsumer
FLOAT

A value consumer for a float value.

public static final ToStringMethod.ValueConsumer
FLOAT_ARRAY

A value consumer for a float array type.

public static final ToStringMethod.ValueConsumer
INTEGER

A value consumer for an int value.

public static final ToStringMethod.ValueConsumer
INTEGER_ARRAY

A value consumer for an int array type.

public static final ToStringMethod.ValueConsumer
LONG

A value consumer for a long value.

public static final ToStringMethod.ValueConsumer
LONG_ARRAY

A value consumer for a long array type.

public static final ToStringMethod.ValueConsumer
NESTED_ARRAY

A value consumer for a nested array type.

public static final ToStringMethod.ValueConsumer
OBJECT

A value consumer for a reference type.

public static final ToStringMethod.ValueConsumer
REFERENCE_ARRAY

A value consumer for a reference array type.

public static final ToStringMethod.ValueConsumer
SHORT_ARRAY

A value consumer for a short array type.

public static final ToStringMethod.ValueConsumer
STRING

A value consumer for a String value.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public boolean
isValid()

Implements org.easymock.bytebuddy.implementation.bytecode.StackManipulation.isValid.

Determines if this stack manipulation is valid.
protected static StackManipulation

Returns:

An appropriate stack manipulation.
of
(TypeDescription
The type for which to resolve a value resolver.
typeDescription
)

Resolves an appropriate value resolver for a given type.

public static ToStringMethod.ValueConsumer
public static ToStringMethod.ValueConsumer[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

BOOLEANback to summary
public static final ToStringMethod.ValueConsumer BOOLEAN

A value consumer for a boolean value.

BOOLEAN_ARRAYback to summary
public static final ToStringMethod.ValueConsumer BOOLEAN_ARRAY

A value consumer for a boolean array type.

BYTE_ARRAYback to summary
public static final ToStringMethod.ValueConsumer BYTE_ARRAY

A value consumer for a byte array type.

CHARACTERback to summary
public static final ToStringMethod.ValueConsumer CHARACTER

A value consumer for a char value.

CHARACTER_ARRAYback to summary
public static final ToStringMethod.ValueConsumer CHARACTER_ARRAY

A value consumer for a char array type.

CHARACTER_SEQUENCEback to summary
public static final ToStringMethod.ValueConsumer CHARACTER_SEQUENCE

A value consumer for a CharSequence value.

DOUBLEback to summary
public static final ToStringMethod.ValueConsumer DOUBLE

A value consumer for a double value.

DOUBLE_ARRAYback to summary
public static final ToStringMethod.ValueConsumer DOUBLE_ARRAY

A value consumer for a double array type.

FLOATback to summary
public static final ToStringMethod.ValueConsumer FLOAT

A value consumer for a float value.

FLOAT_ARRAYback to summary
public static final ToStringMethod.ValueConsumer FLOAT_ARRAY

A value consumer for a float array type.

INTEGERback to summary
public static final ToStringMethod.ValueConsumer INTEGER

A value consumer for an int value.

INTEGER_ARRAYback to summary
public static final ToStringMethod.ValueConsumer INTEGER_ARRAY

A value consumer for an int array type.

LONGback to summary
public static final ToStringMethod.ValueConsumer LONG

A value consumer for a long value.

LONG_ARRAYback to summary
public static final ToStringMethod.ValueConsumer LONG_ARRAY

A value consumer for a long array type.

NESTED_ARRAYback to summary
public static final ToStringMethod.ValueConsumer NESTED_ARRAY

A value consumer for a nested array type.

OBJECTback to summary
public static final ToStringMethod.ValueConsumer OBJECT

A value consumer for a reference type.

REFERENCE_ARRAYback to summary
public static final ToStringMethod.ValueConsumer REFERENCE_ARRAY

A value consumer for a reference array type.

SHORT_ARRAYback to summary
public static final ToStringMethod.ValueConsumer SHORT_ARRAY

A value consumer for a short array type.

STRINGback to summary
public static final ToStringMethod.ValueConsumer STRING

A value consumer for a String value.

Constructor Detail

ValueConsumerback to summary
private ValueConsumer()

Method Detail

isValidback to summary
public boolean isValid()

Implements org.easymock.bytebuddy.implementation.bytecode.StackManipulation.isValid.

Doc from org.easymock.bytebuddy.implementation.bytecode.StackManipulation.isValid.

Determines if this stack manipulation is valid.

Returns:boolean

If false, this manipulation cannot be applied and should throw an exception.

ofback to summary
protected static StackManipulation of(TypeDescription typeDescription)

Resolves an appropriate value resolver for a given type.

Parameters
typeDescription:TypeDescription

The type for which to resolve a value resolver.

Returns:StackManipulation

An appropriate stack manipulation.

Annotations
@SuppressFBWarnings:NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE
justification:Assuming component type for array type.
valueOfback to summary
public static ToStringMethod.ValueConsumer valueOf(String name)
valuesback to summary
public static ToStringMethod.ValueConsumer[] values()