1 package eu.svjatoslav.inspector.java.methods;
3 import eu.svjatoslav.inspector.tokenizer.InvalidSyntaxException;
4 import eu.svjatoslav.inspector.tokenizer.Tokenizer;
5 import eu.svjatoslav.inspector.tokenizer.TokenizerMatch;
7 public class Annotation {
11 public Annotation(final Tokenizer tokenizer) throws InvalidSyntaxException {
13 name = tokenizer.getNextToken().token;
15 if (!tokenizer.probeNextToken("("))
21 final TokenizerMatch token = tokenizer.getNextToken();
23 if ("(".equals(token.token))
25 if (")".equals(token.token))