Code example for Class

Methods: getName

0
    output = new ArrayList<String>();
  } 
 
  public void addField(Field field, Object value) {
    String name = field.getName();
    String typeName = field.getType().getName();
    output.add("<field name='" + name + "' class='" + typeName + "'>" + value + "</field>");
  } 
 
  public void addObject(Object object) {
    String name = object.getClass().getName();
    output.add("<object class='" + name + "'>");
  } 
 
  public void endObject() { 
    output.add("</object>");
  } 
 
  public void addCallingMethod(Method method) {}
  public void addCallingArgs(Object[] args) {}
Connect your IDE to all the code out there  Get Codota for Java