List of usage examples for org.eclipse.jdt.core.dom EnumConstantDeclaration toString
@Override public final String toString()
From source file:fr.labri.harmony.rta.junit.jdt.JDTVisitorRTA.java
License:Open Source License
public boolean visit(EnumConstantDeclaration fd) { if (fd.resolveVariable() != null) { if (fd.resolveVariable().getDeclaringClass() != null) { String field = fd.resolveVariable().getDeclaringClass().getQualifiedName() + "." + fd.resolveVariable().getName(); hashes.put(field, MD5Generator.md5(fd.toString())); //Put the field in the database currentJavaMethod = getJavaMethod(field); currentJavaMethod/*w w w.j a va2s . c o m*/ .setClassName(getJavaClass(fd.resolveVariable().getDeclaringClass().getQualifiedName())); } } return true; }