Interface UserDataStore

All Known Implementing Classes:
Annotation, AnonymousObjectCreationExpression, ArrayCreationExpression, ArrayInitializerExpression, ArrayInitializerExpression.NullArrayInitializerExpression, ArraySpecifier, AssertStatement, AssignmentExpression, AstNode, AstNode.NullAstNode, AstNode.PatternPlaceholder, AstType, AstType.NullAstType, AstType.PatternPlaceholder, BinaryOperatorExpression, BlockStatement, BlockStatement.NullBlockStatement, BlockStatement.PatternPlaceholder, BreakStatement, BytecodeConstant, BytecodeConstant.NullMetadata, CaseLabel, CastExpression, CatchClause, CatchClause.NullCatchClause, CatchClause.PatternPlaceholder, ClassOfExpression, Comment, CommentStatement, CompilationUnit, ComposedType, ConditionalExpression, ConstructorDeclaration, ContinueStatement, DecompilerContext, DoWhileStatement, EmptyStatement, EntityDeclaration, EnumValueDeclaration, Expression, Expression, Expression.NullExpression, Expression.PatternPlaceholder, ExpressionStatement, FieldDeclaration, ForEachStatement, ForStatement, GotoStatement, Identifier, Identifier.NullIdentifier, IdentifierExpression, IfElseStatement, ImportDeclaration, ImportDeclaration.NullImportDeclaration, IndexerExpression, InlinedBytecodeExpression, InlinedBytecodeExpression.NullInlinedBytecodeExpression, InstanceInitializer, InstanceOfExpression, IntersectionType, InvocationExpression, JavaModifierToken, JavaTokenNode, JavaTokenNode.NullJavaTokenNode, LabeledStatement, LabelStatement, LambdaExpression, LocalTypeDeclarationStatement, MacNewLine, MemberReferenceExpression, MethodDeclaration, MethodDeclaration.PatternPlaceholder, MethodGroupExpression, MethodHandlePlaceholder, ModuleDeclaration, ModuleDeclaration.NullModuleDeclaration, NewLineNode, NullReferenceExpression, ObjectCreationExpression, PackageDeclaration, PackageDeclaration.NullPackageDeclaration, ParameterDeclaration, ParameterDeclaration.PatternPlaceholder, ParenthesizedExpression, PatternExpression, PrimitiveExpression, ReturnStatement, SimpleType, Statement, Statement.NullStatement, Statement.PatternPlaceholder, SuperReferenceExpression, SwitchExpression, SwitchExpression.NullSwitchExpression, SwitchExpressionArm, SwitchExpressionArm.NullSwitchExpressionArm, SwitchSection, SwitchStatement, SynchronizedStatement, TextNode, ThisReferenceExpression, ThrowStatement, TryCatchStatement, TypeDeclaration, TypeDeclaration.NullTypeDeclaration, TypeParameterDeclaration, TypeReferenceExpression, UnaryOperatorExpression, UnionType, UnixNewLine, UserDataStoreBase, VariableDeclarationStatement, VariableInitializer, VariableInitializer.NullVariableInitializer, VariableInitializer.PatternPlaceholder, WhileStatement, WildcardType, WindowsNewLine

public interface UserDataStore
  • Method Details

    • getUserData

      <T> T getUserData(Key<T> key)
    • putUserData

      <T> void putUserData(Key<T> key, T value)
    • putUserDataIfAbsent

      <T> T putUserDataIfAbsent(Key<T> key, T value)
    • replace

      <T> boolean replace(Key<T> key, T oldValue, T newValue)