Hi All,

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to