public Class getPropertyType(String name) { int index = names.indexOf(name); if (index != -1) { return getPropertyType(index); } else { throw new RuntimeException( "Tried to get the class of a non-existent property: " + name); } }
public Class getPropertyType(String name){ int index = names.indexOf(name); if (index != -1){ return getPropertyType(index); } else { throw new RuntimeException("Tried to get the class of a non-existent property: " + name); } }
public Class getPropertyType(String name){ int index = names.indexOf(name); if (index != -1){ return getPropertyType(index); } else { throw new RuntimeException("Tried to get the class of a non-existent property: " + name); } }