public final class NodeTokenizer<N extends org.eclipse.jdt.core.dom.ASTNode> extends java.lang.Object implements ListCollector<N,java.lang.String>
Modifier and Type | Class and Description |
---|---|
static class |
NodeTokenizer.Builder<N extends org.eclipse.jdt.core.dom.ASTNode> |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
apply(N node) |
static <N extends org.eclipse.jdt.core.dom.ASTNode> |
builder() |
boolean |
equals(java.lang.Object o) |
com.google.common.base.Function<N,? extends java.lang.Iterable<org.eclipse.jdt.core.dom.ASTNode>> |
getCollector() |
Tokenizer |
getTokenizer() |
com.google.common.base.Function<org.eclipse.jdt.core.dom.ASTNode,java.lang.String> |
getTransformer() |
int |
hashCode() |
java.lang.String |
toString() |
static <N extends org.eclipse.jdt.core.dom.ASTNode> |
using(com.google.common.base.Function<N,? extends java.lang.Iterable<org.eclipse.jdt.core.dom.ASTNode>> collector) |
public static <N extends org.eclipse.jdt.core.dom.ASTNode> NodeTokenizer<N> using(com.google.common.base.Function<N,? extends java.lang.Iterable<org.eclipse.jdt.core.dom.ASTNode>> collector)
public static <N extends org.eclipse.jdt.core.dom.ASTNode> NodeTokenizer.Builder<N> builder()
public java.util.List<java.lang.String> apply(N node)
apply
in interface com.google.common.base.Function<N extends org.eclipse.jdt.core.dom.ASTNode,java.util.Collection<java.lang.String>>
apply
in interface Collector<N extends org.eclipse.jdt.core.dom.ASTNode,java.lang.String>
apply
in interface ListCollector<N extends org.eclipse.jdt.core.dom.ASTNode,java.lang.String>
public boolean equals(@Nullable java.lang.Object o)
equals
in interface com.google.common.base.Function<N extends org.eclipse.jdt.core.dom.ASTNode,java.util.Collection<java.lang.String>>
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public com.google.common.base.Function<N,? extends java.lang.Iterable<org.eclipse.jdt.core.dom.ASTNode>> getCollector()
public com.google.common.base.Function<org.eclipse.jdt.core.dom.ASTNode,java.lang.String> getTransformer()
public Tokenizer getTokenizer()