@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutableShimClass extends org.glowroot.agent.weaving.PluginDetail.ShimClass
PluginDetail.ShimClass.
Use the builder to create immutable instances:
ImmutableShimClass.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableShimClass.Builder
Builds instances of type
ImmutableShimClass. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutableShimClass.Builder |
builder()
Creates a builder for
ImmutableShimClass. |
static ImmutableShimClass |
copyOf(org.glowroot.agent.weaving.PluginDetail.ShimClass instance)
Creates an immutable copy of a
PluginDetail.ShimClass value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutableShimClass that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
type. |
String |
toString()
Prints the immutable value
ShimClass with attribute values. |
ImmutableShimClass |
withType(org.objectweb.asm.Type value)
Copy the current immutable object by setting a value for the
type attribute. |
public static ImmutableShimClass.Builder builder()
ImmutableShimClass.
ImmutableShimClass.builder()
.type(org.objectweb.asm.Type) // required type
.build();
public static ImmutableShimClass copyOf(org.glowroot.agent.weaving.PluginDetail.ShimClass instance)
PluginDetail.ShimClass value.
Uses accessors to get values to initialize the new immutable instance.
If an instance is already immutable, it is returned as is.instance - The instance to copypublic boolean equals(@Nullable Object another)
ImmutableShimClass that have equal attribute values.public int hashCode()
type.public String toString()
ShimClass with attribute values.public final ImmutableShimClass withType(org.objectweb.asm.Type value)
type attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for typethis objectCopyright © 2011–2020 Glowroot contributors. All rights reserved.