Esempio n. 1
0
        protected JavaTypeModel(JavaPackage javaPackage, string javaNestedName, string javaVisibility, bool javaAbstract, bool javaFinal, string deprecated, bool javaStatic, string jniSignature)
        {
            Package              = javaPackage;
            NestedName           = javaNestedName.Replace('$', '.');
            Name                 = NestedName.LastSubset('.');
            Visibility           = javaVisibility;
            IsAbstract           = javaAbstract;
            IsFinal              = javaFinal;
            Deprecated           = deprecated;
            IsStatic             = javaStatic;
            ExtendedJniSignature = jniSignature;

            TypeParameters = new JavaTypeParameters(this);
        }
        public JavaMethodModel(string javaName, string javaVisibility, bool javaAbstract, bool javaFinal, bool javaStatic, string javaReturn, JavaTypeModel javaDeclaringType, string deprecated, string jniSignature, bool isSynthetic, bool isBridge, string returnJni, bool isNative, bool isSynchronized, bool returnNotNull)
            : base(javaName, javaStatic, javaFinal, javaVisibility, javaDeclaringType, deprecated, jniSignature)
        {
            IsAbstract     = javaAbstract;
            Return         = javaReturn;
            ReturnGeneric  = javaReturn;
            IsBridge       = isBridge;
            IsSynthetic    = isSynthetic;
            ReturnJni      = returnJni;
            IsNative       = isNative;
            IsSynchronized = isSynchronized;
            ReturnNotNull  = returnNotNull;

            TypeParameters = new JavaTypeParameters(this);
        }
Esempio n. 3
0
 public JavaTypeParameter(string name, JavaTypeParameters parent)
 {
     Name   = name;
     Parent = parent;
 }