I need get declaring value from object properities Like:
class Foo{
public String[] properityString = String[2];
public int properityint = 50;
}
I need to know that the property properityint has a value of 5 , and property properityString has 2 empty elements.
I know get only fieldType :
public class PhpRpcObjectGenerator extends Generator {
public String generate(TreeLogger logger, GeneratorContext context, String typeName) throws UnableToCompleteException {
classType = context.getTypeOracle().getType(typeName);
JField[] fields = classType.getFields();
for (JField field : fields) {
String fieldType = field.getType().getParameterizedQualifiedSourceName();
So, how I can get declared value ?
Thanks
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment