Package com.strobel.core
Interface IFreezable
- All Known Implementing Classes:
Annotation,AnonymousLocalTypeCollection,AnonymousObjectCreationExpression,ArrayCreationExpression,ArrayInitializerExpression,ArraySpecifier,AssertStatement,AssignmentExpression,AstNode,AstType,BinaryOperatorExpression,BlockStatement,BreakStatement,BytecodeConstant,CaseLabel,CastExpression,CatchClause,ClassOfExpression,Collection,Comment,CompilationUnit,ComposedType,ConditionalExpression,ConstantPool,ConstructorDeclaration,ContinueStatement,DoWhileStatement,EmptyStatement,EntityDeclaration,EnumValueDeclaration,Expression,ExpressionStatement,FieldDeclaration,ForEachStatement,ForStatement,Freezable,GenericParameterCollection,GotoStatement,Identifier,IdentifierExpression,IfElseStatement,ImportDeclaration,IndexerExpression,InlinedBytecodeExpression,InstanceInitializer,InstanceOfExpression,InstructionCollection,IntersectionType,InvocationExpression,JavaModifierToken,JavaTokenNode,LabeledStatement,LabelStatement,LambdaExpression,LocalTypeDeclarationStatement,MacNewLine,MemberReferenceExpression,MethodBody,MethodDeclaration,MethodGroupExpression,MethodHandlePlaceholder,ModuleDeclaration,NewLineNode,NullReferenceExpression,ObjectCreationExpression,PackageDeclaration,ParameterDeclaration,ParameterDefinitionCollection,ParenthesizedExpression,PatternExpression,PrimitiveExpression,ReturnStatement,SimpleType,Statement,SuperReferenceExpression,SwitchExpression,SwitchExpressionArm,SwitchSection,SwitchStatement,SynchronizedStatement,TextNode,ThisReferenceExpression,ThrowStatement,TryCatchStatement,TypeDeclaration,TypeParameterDeclaration,TypeReferenceExpression,UnaryOperatorExpression,UnionType,UnixNewLine,VariableDeclarationStatement,VariableDefinition,VariableDefinitionCollection,VariableInitializer,VariableReference,WhileStatement,WildcardType,WindowsNewLine
public interface IFreezable
- Author:
- Mike Strobel
-
Method Details
-
canFreeze
boolean canFreeze() -
isFrozen
boolean isFrozen() -
freeze
- Throws:
IllegalStateException
-
tryFreeze
boolean tryFreeze() -
freezeIfUnfrozen
- Throws:
IllegalStateException
-