private void goThroughClass(String ClassContent) {
ASTParser parser = ASTParser.newParser(AST.JLS3);
parser.setSource(ClassContent.toCharArray());
parser.setKind(ASTParser.K_COMPILATION_UNIT);
final CompilationUnit cu = (CompilationUnit) parser.createAST(null);
cu.accept(new ASTVisitor() {
public boolean visit(VariableDeclarationFragment node) {
SimpleName name = node.getName();
addIfNotExist(name.toString(),propList);
return false;
}