@ParametersAreNonnullByDefault @Generated(value="org.immutables.processor.ProxyProcessor") @Immutable @CheckReturnValue public final class ImmutablePointcutClassName extends LiveWeavingServiceImpl.PointcutClassName
LiveWeavingServiceImpl.PointcutClassName.
Use the builder to create immutable instances:
ImmutablePointcutClassName.builder().
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutablePointcutClassName.Builder
Builds instances of type
ImmutablePointcutClassName. |
| Modifier and Type | Method and Description |
|---|---|
static ImmutablePointcutClassName.Builder |
builder()
Creates a builder for
ImmutablePointcutClassName. |
static ImmutablePointcutClassName |
copyOf(LiveWeavingServiceImpl.PointcutClassName instance)
Creates an immutable copy of a
LiveWeavingServiceImpl.PointcutClassName value. |
boolean |
equals(Object another)
This instance is equal to all instances of
ImmutablePointcutClassName that have equal attribute values. |
int |
hashCode()
Computes a hash code from attributes:
pattern, nonPattern, subTypeRestriction, doNotMatchSubClasses. |
String |
toString()
Prints the immutable value
PointcutClassName with attribute values. |
ImmutablePointcutClassName |
withDoNotMatchSubClasses(boolean value)
Copy the current immutable object by setting a value for the
doNotMatchSubClasses attribute. |
ImmutablePointcutClassName |
withNonPattern(String value)
Copy the current immutable object by setting a value for the
nonPattern attribute. |
ImmutablePointcutClassName |
withPattern(Pattern value)
Copy the current immutable object by setting a value for the
pattern attribute. |
ImmutablePointcutClassName |
withSubTypeRestriction(LiveWeavingServiceImpl.PointcutClassName value)
Copy the current immutable object by setting a value for the
subTypeRestriction attribute. |
fromMaybePattern, fromNonPattern, fromPatternpublic static ImmutablePointcutClassName.Builder builder()
ImmutablePointcutClassName.
ImmutablePointcutClassName.builder()
.pattern(regex.Pattern | null) // nullable pattern
.nonPattern(String | null) // nullable nonPattern
.subTypeRestriction(org.glowroot.agent.live.LiveWeavingServiceImpl.PointcutClassName | null) // nullable subTypeRestriction
.doNotMatchSubClasses(boolean) // required doNotMatchSubClasses
.build();
public static ImmutablePointcutClassName copyOf(LiveWeavingServiceImpl.PointcutClassName instance)
LiveWeavingServiceImpl.PointcutClassName 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)
ImmutablePointcutClassName that have equal attribute values.public int hashCode()
pattern, nonPattern, subTypeRestriction, doNotMatchSubClasses.public String toString()
PointcutClassName with attribute values.public final ImmutablePointcutClassName withDoNotMatchSubClasses(boolean value)
doNotMatchSubClasses attribute.
A value equality check is used to prevent copying of the same value by returning this.value - A new value for doNotMatchSubClassesthis objectpublic final ImmutablePointcutClassName withNonPattern(String value)
nonPattern attribute.
An equals check used to prevent copying of the same value by returning this.value - A new value for nonPattern (can be null)this objectpublic final ImmutablePointcutClassName withPattern(Pattern value)
pattern attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for pattern (can be null)this objectpublic final ImmutablePointcutClassName withSubTypeRestriction(LiveWeavingServiceImpl.PointcutClassName value)
subTypeRestriction attribute.
A shallow reference equality check is used to prevent copying of the same value by returning this.value - A new value for subTypeRestriction (can be null)this objectCopyright © 2011–2020 Glowroot contributors. All rights reserved.