1 23 24 package org.objectweb.jorm.genclass.api; 25 26 import org.objectweb.jorm.type.api.PType; 27 28 32 33 public class FieldDesc { 34 37 public String name; 38 39 40 public String compositeName; 41 44 public PType type; 45 public int size = PType.NOSIZE; 46 public int scale = PType.NOSIZE; 47 48 51 public FieldDesc(String fn, String cfn, PType ft) { 52 name = fn; 53 compositeName = cfn; 54 type = ft; 55 } 56 57 60 public FieldDesc(String fn, String cfn, PType ft, int sz, int scale) { 61 name = fn; 62 compositeName = cfn; 63 type = ft; 64 size = sz; 65 this.scale = scale; 66 } 67 } 68 | Popular Tags |