Interface UserDataStore

All Known Implementing Classes:
Annotation, AnonymousObjectCreationExpression, ArrayCreationExpression, ArrayInitializerExpression, ArraySpecifier, AssertStatement, AssignmentExpression, AstNode, AstType, BinaryOperatorExpression, BlockStatement, BreakStatement, BytecodeConstant, CaseLabel, CastExpression, CatchClause, ClassOfExpression, Comment, CompilationUnit, ComposedType, ConditionalExpression, ConstructorDeclaration, ContinueStatement, DecompilerContext, DoWhileStatement, EmptyStatement, EntityDeclaration, EnumValueDeclaration, Expression, Expression, ExpressionStatement, FieldDeclaration, ForEachStatement, ForStatement, GotoStatement, Identifier, IdentifierExpression, IfElseStatement, ImportDeclaration, IndexerExpression, InlinedBytecodeExpression, InstanceInitializer, InstanceOfExpression, IntersectionType, InvocationExpression, JavaModifierToken, JavaTokenNode, LabeledStatement, LabelStatement, LambdaExpression, LocalTypeDeclarationStatement, MacNewLine, MemberReferenceExpression, MethodDeclaration, MethodGroupExpression, MethodHandlePlaceholder, ModuleDeclaration, NewLineNode, NullReferenceExpression, ObjectCreationExpression, PackageDeclaration, ParameterDeclaration, ParenthesizedExpression, PatternExpression, PrimitiveExpression, ReturnStatement, SimpleType, Statement, SuperReferenceExpression, SwitchExpression, SwitchExpressionArm, SwitchSection, SwitchStatement, SynchronizedStatement, TextNode, ThisReferenceExpression, ThrowStatement, TryCatchStatement, TypeDeclaration, TypeParameterDeclaration, TypeReferenceExpression, UnaryOperatorExpression, UnionType, UnixNewLine, UserDataStoreBase, VariableDeclarationStatement, VariableInitializer, 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)