Class JAbstractPossiblyUnmodifiableDelegateType<T extends JType & honeyroasted.collect.modify.PossiblyUnmodifiable>
java.lang.Object
honeyroasted.jype.type.impl.delegate.JAbstractDelegateType<T>
honeyroasted.jype.type.impl.delegate.JAbstractPossiblyUnmodifiableDelegateType<T>
- All Implemented Interfaces:
honeyroasted.almonds.SimpleName,honeyroasted.collect.copy.Copyable<JType, JTypeCache<JType,,JType>> honeyroasted.collect.modify.PossiblyUnmodifiable,JType
- Direct Known Subclasses:
JArrayTypeDelegate,JClassReferenceDelegate,JFieldReferenceDelegate,JIntersectionTypeDelegate,JMethodReferenceDelegate,JParameterizedClassTypeDelegate,JParameterizedMethodTypeDelegate,JVarTypeDelegate,JWildTypeLowerDelegate,JWildTypeUpperDelegate
public class JAbstractPossiblyUnmodifiableDelegateType<T extends JType & honeyroasted.collect.modify.PossiblyUnmodifiable>
extends JAbstractDelegateType<T>
implements honeyroasted.collect.modify.PossiblyUnmodifiable
-
Nested Class Summary
Nested classes/interfaces inherited from interface honeyroasted.jype.type.JType
JType.Equality -
Constructor Summary
ConstructorsConstructorDescriptionJAbstractPossiblyUnmodifiableDelegateType(JTypeSystem system, Function<JTypeSystem, T> factory, BiFunction<JTypeSystem, Function<JTypeSystem, T>, ? extends JAbstractDelegateType<T>> constructor) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanvoidsetUnmodifiable(boolean b) toString()Methods inherited from class honeyroasted.jype.type.impl.delegate.JAbstractDelegateType
accept, copy, delegate, equals, hashCode, metadata, simpleName, typeSystemMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface honeyroasted.jype.type.JType
accept, accept, copy, declarationSignature, descriptor, downwardsProjection, downwardsProjection, equals, hasCyclicTypeVariables, hasCyclicTypeVariables, isAssignableFrom, isAssignableTo, isCompatibleFrom, isCompatibleTo, isContextType, isNullType, isProperType, isResultType, knownDirectSupertypes, signature, structuralEquals, typeEquals, upwardsProjection, upwardsProjection, varTypeResolver
-
Constructor Details
-
JAbstractPossiblyUnmodifiableDelegateType
public JAbstractPossiblyUnmodifiableDelegateType(JTypeSystem system, Function<JTypeSystem, T> factory, BiFunction<JTypeSystem, Function<JTypeSystem, T>, ? extends JAbstractDelegateType<T>> constructor)
-
-
Method Details
-
isUnmodifiable
public boolean isUnmodifiable()- Specified by:
isUnmodifiablein interfacehoneyroasted.collect.modify.PossiblyUnmodifiable
-
setUnmodifiable
public void setUnmodifiable(boolean b) - Specified by:
setUnmodifiablein interfacehoneyroasted.collect.modify.PossiblyUnmodifiable
-
toString
- Overrides:
toStringin classJAbstractDelegateType<T extends JType & honeyroasted.collect.modify.PossiblyUnmodifiable>
-
hashCode
public int hashCode()- Overrides:
hashCodein classJAbstractDelegateType<T extends JType & honeyroasted.collect.modify.PossiblyUnmodifiable>
-
equals
- Overrides:
equalsin classJAbstractDelegateType<T extends JType & honeyroasted.collect.modify.PossiblyUnmodifiable>
-