Package com.sun.star.lib.uno.typeinfo

Examples of com.sun.star.lib.uno.typeinfo.TypeInfo


  static public boolean isTypeClassSimple(TypeClass typeClass) {
    return typeClass.getValue() < __typeClassToTypeDescription.length;
  }

  static private TypeInfo []__getTypeInfos(Class zInterface) {
    TypeInfo typeInfos[] = null;

    try {
      Field field = zInterface.getField("UNOTYPEINFO");
      typeInfos = (TypeInfo[])field.get(null);
View Full Code Here


    }
    else {
      if(_superType != null) // do we have a supertype (we don't have one, if we are not derived of XInterface)
        superOffset = _superType._offset;

      TypeInfo typeInfos[] = __getTypeInfos(_class);
      Method methods[] = _class.getMethods();
     
      for(int i = 0; i < methods.length; ++ i) {
        Class parameters[] = methods[i].getParameterTypes();
        ParameterTypeInfo parameterTypeInfos[] = new ParameterTypeInfo[parameters.length];
View Full Code Here

  }
 
  private void _initMemberTypeInfos() {
    if(DEBUG) System.err.println("TypeDescription._initMemberTypeInfos");

    TypeInfo typeInfos[] = __getTypeInfos(_class);
    Field fields[] = _class.getFields();
    int index = 0;
        int superTypeMemberCount = 0;
        if( _superType != null )
            superTypeMemberCount = _superType.getFieldDescriptions().length;
View Full Code Here

    public static boolean isTypeClassSimple(TypeClass typeClass) {
        return typeClass.getValue() < __typeClassToTypeDescription.length;
    }

  static private TypeInfo []__getTypeInfos(Class zInterface) {
    TypeInfo typeInfos[] = null;

    try {
      Field field = zInterface.getField("UNOTYPEINFO");
      typeInfos = (TypeInfo[])field.get(null);
View Full Code Here

    }
    else {
      if(_superType != null) // do we have a supertype (we don't have one, if we are not derived of XInterface)
        superOffset = _superType._offset;

      TypeInfo typeInfos[] = __getTypeInfos(_class);
      Method methods[] = _class.getMethods();
     
      for(int i = 0; i < methods.length; ++ i) {
        Class parameters[] = methods[i].getParameterTypes();
        ParameterTypeInfo parameterTypeInfos[] = new ParameterTypeInfo[parameters.length];
View Full Code Here

  }
 
  private void _initMemberTypeInfos() {
    if(DEBUG) System.err.println("TypeDescription._initMemberTypeInfos");

    TypeInfo typeInfos[] = __getTypeInfos(_class);
    Field fields[] = _class.getFields();
    int index = 0;
        int superTypeMemberCount = 0;
        if( _superType != null )
            superTypeMemberCount = _superType.getFieldDescriptions().length;
View Full Code Here

TOP

Related Classes of com.sun.star.lib.uno.typeinfo.TypeInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.