@Test public void metadata_reference() { Token token = otherToken(1,0,"true"); Tree tree = new LiteralTreeImpl(metaData(token), token.text()); assertThat(RangeConverter.metaDataReference(tree)).isEqualTo("1:0:1:4"); }
public static String metaDataReference(Tree tree) { return format(tree.metaData().textRange()); }
RangeConverter { public static String metaDataReference(Tree tree) { return format(tree.metaData().textRange()); } }
RangeConverter { public static String metaDataReference(Tree tree) { return format(tree.metaData().textRange()); } private  RangeConverter(); }
RangeConverter { public static String metaDataReference(Tree tree) { return format(tree.metaData().textRange()); } private  RangeConverter(); @Nullable static String format(@Nullable TextRange range); @Nullable static TextRange parse(@Nullable String value); @Nullable static String tokenReference(@Nullable Token token); @Nullable static Token resolveToken(TreeMetaDataProvider metaDataProvider, @Nullable String tokenReference); static String metaDataReference(Tree tree); static TreeMetaData resolveMetaData(TreeMetaDataProvider metaDataProvider, String metaDataReference); @Nullable static String treeReference(@Nullable Tree tree); @Nullable static T resolveNullableTree(Tree parent, @Nullable String treeReference, Class<T> childClass); }
RangeConverter { public static String metaDataReference(Tree tree) { return format(tree.metaData().textRange()); } private  RangeConverter(); @Nullable static String format(@Nullable TextRange range); @Nullable static TextRange parse(@Nullable String value); @Nullable static String tokenReference(@Nullable Token token); @Nullable static Token resolveToken(TreeMetaDataProvider metaDataProvider, @Nullable String tokenReference); static String metaDataReference(Tree tree); static TreeMetaData resolveMetaData(TreeMetaDataProvider metaDataProvider, String metaDataReference); @Nullable static String treeReference(@Nullable Tree tree); @Nullable static T resolveNullableTree(Tree parent, @Nullable String treeReference, Class<T> childClass);  }