Extension [  extension #17 Reflection version $Id: 1cf65cee164ed57874ce2d29e5c46b82f6139524 $ ] {

  - Classes [12] {
Class [ class ReflectionException extends Exception ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [0] {
} - Properties [4] {
Property [ protected $message ]
Property [ protected $code ]
Property [ protected $file ]
Property [ protected $line ]
} - Methods [9] {
Method [ public method __construct ] { - Parameters [3] {
Parameter #0 [ $message ]
Parameter #1 [ $code ]
Parameter #2 [ $previous ]
}
} Method [ final public method getMessage ] {
} Method [ final public method getCode ] {
} Method [ final public method getFile ] {
} Method [ final public method getLine ] {
} Method [ final public method getTrace ] {
} Method [ final public method getPrevious ] {
} Method [ final public method getTraceAsString ] {
} Method [ public method __toString ] {
}
}
} Class [ class Reflection ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [2] {
Method [ static public method getModifierNames ] { - Parameters [1] {
Parameter #0 [ $modifiers ]
}
} Method [ static public method export ] { - Parameters [2] {
Parameter #0 [ Reflector $reflector ]
Parameter #1 [ $return ]
}
}
} - Properties [0] {
} - Methods [0] {
}
} Interface [ interface Reflector ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [1] {
Method [ abstract static public method export ] {
}
} - Properties [0] {
} - Methods [1] {
Method [ abstract public method __toString ] { - Parameters [0] {
}
}
}
} Class [ abstract class ReflectionFunctionAbstract implements Reflector ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [0] {
} - Properties [1] {
Property [ public $name ]
} - Methods [23] {
Method [ final private method __clone ] { - Parameters [0] {
}
} Method [ abstract public method __toString ] { - Parameters [0] {
}
} Method [ public method inNamespace ] { - Parameters [0] {
}
} Method [ public method isClosure ] { - Parameters [0] {
}
} Method [ public method isDeprecated ] { - Parameters [0] {
}
} Method [ public method isInternal ] { - Parameters [0] {
}
} Method [ public method isUserDefined ] { - Parameters [0] {
}
} Method [ public method getClosureThis ] { - Parameters [0] {
}
} Method [ public method getClosureScopeClass ] { - Parameters [0] {
}
} Method [ public method getDocComment ] { - Parameters [0] {
}
} Method [ public method getEndLine ] { - Parameters [0] {
}
} Method [ public method getExtension ] { - Parameters [0] {
}
} Method [ public method getExtensionName ] { - Parameters [0] {
}
} Method [ public method getFileName ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method getNamespaceName ] { - Parameters [0] {
}
} Method [ public method getNumberOfParameters ] { - Parameters [0] {
}
} Method [ public method getNumberOfRequiredParameters ] { - Parameters [0] {
}
} Method [ public method getParameters ] { - Parameters [0] {
}
} Method [ public method getShortName ] { - Parameters [0] {
}
} Method [ public method getStartLine ] { - Parameters [0] {
}
} Method [ public method getStaticVariables ] { - Parameters [0] {
}
} Method [ public method returnsReference ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionFunction extends ReflectionFunctionAbstract implements Reflector ] { - Constants [1] {
Constant [ integer IS_DEPRECATED ] { 262144 }
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $return ]
}
}
} - Properties [1] {
Property [ public $name ]
} - Methods [27] {
Method [ public method __construct ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method isDisabled ] { - Parameters [0] {
}
} Method [ public method invoke ] { - Parameters [1] {
Parameter #0 [ $args ]
}
} Method [ public method invokeArgs ] { - Parameters [1] {
Parameter #0 [ array $args ]
}
} Method [ public method getClosure ] { - Parameters [0] {
}
} Method [ public method inNamespace ] { - Parameters [0] {
}
} Method [ public method isClosure ] { - Parameters [0] {
}
} Method [ public method isDeprecated ] { - Parameters [0] {
}
} Method [ public method isInternal ] { - Parameters [0] {
}
} Method [ public method isUserDefined ] { - Parameters [0] {
}
} Method [ public method getClosureThis ] { - Parameters [0] {
}
} Method [ public method getClosureScopeClass ] { - Parameters [0] {
}
} Method [ public method getDocComment ] { - Parameters [0] {
}
} Method [ public method getEndLine ] { - Parameters [0] {
}
} Method [ public method getExtension ] { - Parameters [0] {
}
} Method [ public method getExtensionName ] { - Parameters [0] {
}
} Method [ public method getFileName ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method getNamespaceName ] { - Parameters [0] {
}
} Method [ public method getNumberOfParameters ] { - Parameters [0] {
}
} Method [ public method getNumberOfRequiredParameters ] { - Parameters [0] {
}
} Method [ public method getParameters ] { - Parameters [0] {
}
} Method [ public method getShortName ] { - Parameters [0] {
}
} Method [ public method getStartLine ] { - Parameters [0] {
}
} Method [ public method getStaticVariables ] { - Parameters [0] {
}
} Method [ public method returnsReference ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionParameter implements Reflector ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [3] {
Parameter #0 [ $function ]
Parameter #1 [ $parameter ]
Parameter #2 [ $return ]
}
}
} - Properties [1] {
Property [ public $name ]
} - Methods [16] {
Method [ final private method __clone ] { - Parameters [0] {
}
} Method [ public method __construct ] { - Parameters [2] {
Parameter #0 [ $function ]
Parameter #1 [ $parameter ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method isPassedByReference ] { - Parameters [0] {
}
} Method [ public method canBePassedByValue ] { - Parameters [0] {
}
} Method [ public method getDeclaringFunction ] { - Parameters [0] {
}
} Method [ public method getDeclaringClass ] { - Parameters [0] {
}
} Method [ public method getClass ] { - Parameters [0] {
}
} Method [ public method isArray ] { - Parameters [0] {
}
} Method [ public method isCallable ] { - Parameters [0] {
}
} Method [ public method allowsNull ] { - Parameters [0] {
}
} Method [ public method getPosition ] { - Parameters [0] {
}
} Method [ public method isOptional ] { - Parameters [0] {
}
} Method [ public method isDefaultValueAvailable ] { - Parameters [0] {
}
} Method [ public method getDefaultValue ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionMethod extends ReflectionFunctionAbstract implements Reflector ] { - Constants [6] {
Constant [ integer IS_STATIC ] { 1 }
Constant [ integer IS_PUBLIC ] { 256 }
Constant [ integer IS_PROTECTED ] { 512 }
Constant [ integer IS_PRIVATE ] { 1024 }
Constant [ integer IS_ABSTRACT ] { 2 }
Constant [ integer IS_FINAL ] { 4 }
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [3] {
Parameter #0 [ $class ]
Parameter #1 [ $name ]
Parameter #2 [ $return ]
}
}
} - Properties [2] {
Property [ public $name ]
Property [ public $class ]
} - Methods [38] {
Method [ public method __construct ] { - Parameters [2] {
Parameter #0 [ $class_or_method ]
Parameter #1 [ $name ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method isPublic ] { - Parameters [0] {
}
} Method [ public method isPrivate ] { - Parameters [0] {
}
} Method [ public method isProtected ] { - Parameters [0] {
}
} Method [ public method isAbstract ] { - Parameters [0] {
}
} Method [ public method isFinal ] { - Parameters [0] {
}
} Method [ public method isStatic ] { - Parameters [0] {
}
} Method [ public method isConstructor ] { - Parameters [0] {
}
} Method [ public method isDestructor ] { - Parameters [0] {
}
} Method [ public method getClosure ] { - Parameters [1] {
Parameter #0 [ $object ]
}
} Method [ public method getModifiers ] { - Parameters [0] {
}
} Method [ public method invoke ] { - Parameters [2] {
Parameter #0 [ $object ]
Parameter #1 [ $args ]
}
} Method [ public method invokeArgs ] { - Parameters [2] {
Parameter #0 [ $object ]
Parameter #1 [ array $args ]
}
} Method [ public method getDeclaringClass ] { - Parameters [0] {
}
} Method [ public method getPrototype ] { - Parameters [0] {
}
} Method [ public method setAccessible ] { - Parameters [1] {
Parameter #0 [ $value ]
}
} Method [ public method inNamespace ] { - Parameters [0] {
}
} Method [ public method isClosure ] { - Parameters [0] {
}
} Method [ public method isDeprecated ] { - Parameters [0] {
}
} Method [ public method isInternal ] { - Parameters [0] {
}
} Method [ public method isUserDefined ] { - Parameters [0] {
}
} Method [ public method getClosureThis ] { - Parameters [0] {
}
} Method [ public method getClosureScopeClass ] { - Parameters [0] {
}
} Method [ public method getDocComment ] { - Parameters [0] {
}
} Method [ public method getEndLine ] { - Parameters [0] {
}
} Method [ public method getExtension ] { - Parameters [0] {
}
} Method [ public method getExtensionName ] { - Parameters [0] {
}
} Method [ public method getFileName ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method getNamespaceName ] { - Parameters [0] {
}
} Method [ public method getNumberOfParameters ] { - Parameters [0] {
}
} Method [ public method getNumberOfRequiredParameters ] { - Parameters [0] {
}
} Method [ public method getParameters ] { - Parameters [0] {
}
} Method [ public method getShortName ] { - Parameters [0] {
}
} Method [ public method getStartLine ] { - Parameters [0] {
}
} Method [ public method getStaticVariables ] { - Parameters [0] {
}
} Method [ public method returnsReference ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionClass implements Reflector ] { - Constants [3] {
Constant [ integer IS_IMPLICIT_ABSTRACT ] { 16 }
Constant [ integer IS_EXPLICIT_ABSTRACT ] { 32 }
Constant [ integer IS_FINAL ] { 64 }
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [2] {
Parameter #0 [ $argument ]
Parameter #1 [ $return ]
}
}
} - Properties [1] {
Property [ public $name ]
} - Methods [49] {
Method [ final private method __clone ] { - Parameters [0] {
}
} Method [ public method __construct ] { - Parameters [1] {
Parameter #0 [ $argument ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method isInternal ] { - Parameters [0] {
}
} Method [ public method isUserDefined ] { - Parameters [0] {
}
} Method [ public method isInstantiable ] { - Parameters [0] {
}
} Method [ public method isCloneable ] { - Parameters [0] {
}
} Method [ public method getFileName ] { - Parameters [0] {
}
} Method [ public method getStartLine ] { - Parameters [0] {
}
} Method [ public method getEndLine ] { - Parameters [0] {
}
} Method [ public method getDocComment ] { - Parameters [0] {
}
} Method [ public method getConstructor ] { - Parameters [0] {
}
} Method [ public method hasMethod ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getMethod ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getMethods ] { - Parameters [1] {
Parameter #0 [ $filter ]
}
} Method [ public method hasProperty ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getProperty ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getProperties ] { - Parameters [1] {
Parameter #0 [ $filter ]
}
} Method [ public method hasConstant ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getConstants ] { - Parameters [0] {
}
} Method [ public method getConstant ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getInterfaces ] { - Parameters [0] {
}
} Method [ public method getInterfaceNames ] { - Parameters [0] {
}
} Method [ public method isInterface ] { - Parameters [0] {
}
} Method [ public method getTraits ] { - Parameters [0] {
}
} Method [ public method getTraitNames ] { - Parameters [0] {
}
} Method [ public method getTraitAliases ] { - Parameters [0] {
}
} Method [ public method isTrait ] { - Parameters [0] {
}
} Method [ public method isAbstract ] { - Parameters [0] {
}
} Method [ public method isFinal ] { - Parameters [0] {
}
} Method [ public method getModifiers ] { - Parameters [0] {
}
} Method [ public method isInstance ] { - Parameters [1] {
Parameter #0 [ $object ]
}
} Method [ public method newInstance ] { - Parameters [1] {
Parameter #0 [ $args ]
}
} Method [ public method newInstanceWithoutConstructor ] { - Parameters [0] {
}
} Method [ public method newInstanceArgs ] { - Parameters [1] {
Parameter #0 [ array $args ]
}
} Method [ public method getParentClass ] { - Parameters [0] {
}
} Method [ public method isSubclassOf ] { - Parameters [1] {
Parameter #0 [ $class ]
}
} Method [ public method getStaticProperties ] { - Parameters [0] {
}
} Method [ public method getStaticPropertyValue ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $default ]
}
} Method [ public method setStaticPropertyValue ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $value ]
}
} Method [ public method getDefaultProperties ] { - Parameters [0] {
}
} Method [ public method isIterateable ] { - Parameters [0] {
}
} Method [ public method implementsInterface ] { - Parameters [1] {
Parameter #0 [ $interface ]
}
} Method [ public method getExtension ] { - Parameters [0] {
}
} Method [ public method getExtensionName ] { - Parameters [0] {
}
} Method [ public method inNamespace ] { - Parameters [0] {
}
} Method [ public method getNamespaceName ] { - Parameters [0] {
}
} Method [ public method getShortName ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionObject extends ReflectionClass implements Reflector ] { - Constants [3] {
Constant [ integer IS_IMPLICIT_ABSTRACT ] { 16 }
Constant [ integer IS_EXPLICIT_ABSTRACT ] { 32 }
Constant [ integer IS_FINAL ] { 64 }
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [2] {
Parameter #0 [ $argument ]
Parameter #1 [ $return ]
}
}
} - Properties [1] {
Property [ public $name ]
} - Methods [48] {
Method [ public method __construct ] { - Parameters [1] {
Parameter #0 [ $argument ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method isInternal ] { - Parameters [0] {
}
} Method [ public method isUserDefined ] { - Parameters [0] {
}
} Method [ public method isInstantiable ] { - Parameters [0] {
}
} Method [ public method isCloneable ] { - Parameters [0] {
}
} Method [ public method getFileName ] { - Parameters [0] {
}
} Method [ public method getStartLine ] { - Parameters [0] {
}
} Method [ public method getEndLine ] { - Parameters [0] {
}
} Method [ public method getDocComment ] { - Parameters [0] {
}
} Method [ public method getConstructor ] { - Parameters [0] {
}
} Method [ public method hasMethod ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getMethod ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getMethods ] { - Parameters [1] {
Parameter #0 [ $filter ]
}
} Method [ public method hasProperty ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getProperty ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getProperties ] { - Parameters [1] {
Parameter #0 [ $filter ]
}
} Method [ public method hasConstant ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getConstants ] { - Parameters [0] {
}
} Method [ public method getConstant ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method getInterfaces ] { - Parameters [0] {
}
} Method [ public method getInterfaceNames ] { - Parameters [0] {
}
} Method [ public method isInterface ] { - Parameters [0] {
}
} Method [ public method getTraits ] { - Parameters [0] {
}
} Method [ public method getTraitNames ] { - Parameters [0] {
}
} Method [ public method getTraitAliases ] { - Parameters [0] {
}
} Method [ public method isTrait ] { - Parameters [0] {
}
} Method [ public method isAbstract ] { - Parameters [0] {
}
} Method [ public method isFinal ] { - Parameters [0] {
}
} Method [ public method getModifiers ] { - Parameters [0] {
}
} Method [ public method isInstance ] { - Parameters [1] {
Parameter #0 [ $object ]
}
} Method [ public method newInstance ] { - Parameters [1] {
Parameter #0 [ $args ]
}
} Method [ public method newInstanceWithoutConstructor ] { - Parameters [0] {
}
} Method [ public method newInstanceArgs ] { - Parameters [1] {
Parameter #0 [ array $args ]
}
} Method [ public method getParentClass ] { - Parameters [0] {
}
} Method [ public method isSubclassOf ] { - Parameters [1] {
Parameter #0 [ $class ]
}
} Method [ public method getStaticProperties ] { - Parameters [0] {
}
} Method [ public method getStaticPropertyValue ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $default ]
}
} Method [ public method setStaticPropertyValue ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $value ]
}
} Method [ public method getDefaultProperties ] { - Parameters [0] {
}
} Method [ public method isIterateable ] { - Parameters [0] {
}
} Method [ public method implementsInterface ] { - Parameters [1] {
Parameter #0 [ $interface ]
}
} Method [ public method getExtension ] { - Parameters [0] {
}
} Method [ public method getExtensionName ] { - Parameters [0] {
}
} Method [ public method inNamespace ] { - Parameters [0] {
}
} Method [ public method getNamespaceName ] { - Parameters [0] {
}
} Method [ public method getShortName ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionProperty implements Reflector ] { - Constants [4] {
Constant [ integer IS_STATIC ] { 1 }
Constant [ integer IS_PUBLIC ] { 256 }
Constant [ integer IS_PROTECTED ] { 512 }
Constant [ integer IS_PRIVATE ] { 1024 }
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [3] {
Parameter #0 [ $class ]
Parameter #1 [ $name ]
Parameter #2 [ $return ]
}
}
} - Properties [2] {
Property [ public $name ]
Property [ public $class ]
} - Methods [15] {
Method [ final private method __clone ] { - Parameters [0] {
}
} Method [ public method __construct ] { - Parameters [2] {
Parameter #0 [ $class ]
Parameter #1 [ $name ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method getValue ] { - Parameters [1] {
Parameter #0 [ $object ]
}
} Method [ public method setValue ] { - Parameters [2] {
Parameter #0 [ $object ]
Parameter #1 [ $value ]
}
} Method [ public method isPublic ] { - Parameters [0] {
}
} Method [ public method isPrivate ] { - Parameters [0] {
}
} Method [ public method isProtected ] { - Parameters [0] {
}
} Method [ public method isStatic ] { - Parameters [0] {
}
} Method [ public method isDefault ] { - Parameters [0] {
}
} Method [ public method getModifiers ] { - Parameters [0] {
}
} Method [ public method getDeclaringClass ] { - Parameters [0] {
}
} Method [ public method getDocComment ] { - Parameters [0] {
}
} Method [ public method setAccessible ] { - Parameters [1] {
Parameter #0 [ $visible ]
}
}
}
} Class [ class ReflectionExtension implements Reflector ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $return ]
}
}
} - Properties [1] {
Property [ public $name ]
} - Methods [14] {
Method [ final private method __clone ] { - Parameters [0] {
}
} Method [ public method __construct ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method getVersion ] { - Parameters [0] {
}
} Method [ public method getFunctions ] { - Parameters [0] {
}
} Method [ public method getConstants ] { - Parameters [0] {
}
} Method [ public method getINIEntries ] { - Parameters [0] {
}
} Method [ public method getClasses ] { - Parameters [0] {
}
} Method [ public method getClassNames ] { - Parameters [0] {
}
} Method [ public method getDependencies ] { - Parameters [0] {
}
} Method [ public method info ] { - Parameters [0] {
}
} Method [ public method isPersistent ] { - Parameters [0] {
}
} Method [ public method isTemporary ] { - Parameters [0] {
}
}
}
} Class [ class ReflectionZendExtension implements Reflector ] { - Constants [0] {
} - Static properties [0] {
} - Static methods [1] {
Method [ static public method export ] { - Parameters [2] {
Parameter #0 [ $name ]
Parameter #1 [ $return ]
}
}
} - Properties [1] {
Property [ public $name ]
} - Methods [8] {
Method [ final private method __clone ] { - Parameters [0] {
}
} Method [ public method __construct ] { - Parameters [1] {
Parameter #0 [ $name ]
}
} Method [ public method __toString ] { - Parameters [0] {
}
} Method [ public method getName ] { - Parameters [0] {
}
} Method [ public method getVersion ] { - Parameters [0] {
}
} Method [ public method getAuthor ] { - Parameters [0] {
}
} Method [ public method getURL ] { - Parameters [0] {
}
} Method [ public method getCopyright ] { - Parameters [0] {
}
}
}
}
}
}

反射的所有api的更多相关文章

  1. 反射的常用API

    反射的常用API 加载程序集 Assembly assembly = Assembly.Load("程序集名称"); // 从前目录加载程序集,提供程序集名称,无后缀 Assemb ...

  2. Java反射API研究(1)——注解Annotation

    注解在表面上的意思,只是标记一下这一部分,最好的注解就是代码自身.而在java上,由于注解的特殊性,可以通过反射API获取,这种特性使得注解被广泛应用于各大框架,用于配置内容,代替xml文件配置. 要 ...

  3. Java反射api详解

    虽然已经用了很多反射相关的api,但是还没有详细研究官方api文档,下面以1.6为基础研究一下api文档(因为只找到了1.6的中文版...),同时补充1.7和1.8对反射相关api的改变.

  4. 反射常用API以及内省机制(代码)

    学习内容: (1)获取构造函数 这里不贴Person类了,不然代码太多太乱了,只给出一些常用API // 创建字节码对象 Class<?> aClass = Class.forName(& ...

  5. 运用Mono.Cecil 反射读取.NET程序集元数据

    CLR自带的反射机智和API可以很轻松的读取.NET程序集信息,但是不能对程序集进行修改.CLR提供的是只读的API,但是开源项目Mono.Cecil不仅仅可以读取.NET程序集的元数据,还可以进行修 ...

  6. java基础知识(十一)java反射机制(下)

    1.什么是反射机制? java反射机制是在运行状态中,对于任意一个类,都能够知道这个类的所有属性和方法,对于任意一个对象都能够调用他的属性和方法,这种动态获取属性和方法的功能称为java的反射机制. ...

  7. 基础知识《八》---Java反射机制

    1.反射可以做什么 2.反射相关的API 3.获取Class运行时类的实例的三种方法: 1)通过运行时类本身的.class属性***** Class clazz= Person.class; 2)通过 ...

  8. java基础之 反射

    首先,我们在开始前提出一个问题: 1.在运行时,对于一个java类,能否知道属性和方法:能否去调用它的任意方法? 答案是肯定的. 本节所有目录如下: 什么是JAVA的反射机制 JDK中提供的Refle ...

  9. 5. Java反射机制

    Java反射机制   问题: 在运行时,对一个JAVA类,能否知道属性和方法:能否调用它的任意方法? 答案是可以的,JAVA提供一种反射机制可以实现. 目录 什么是JAVA的反射机制 JDK中提供的R ...

随机推荐

  1. 洛谷4556 [Vani有约会]雨天的尾巴

    原题链接 每个点开一个权值线段树,然后用树上差分的方法修改,最后自底向上暴力线段树合并即可. 不过空间较大,会\(MLE\),写个内存池就可以了. #include<cstdio> #in ...

  2. 51nod1305

    可以暴力,但这里学习了一个新思路,就是把原式进行分解会得到[1/a[i]+1/a[j]],因为向下取整,我们可以发现,1作用于1结果为2,1作用于除了1之外的数结果为1,2作用于2结果为1,所以我们只 ...

  3. O365 Manager Plus帮助台委派介绍

    O365 Manager Plus帮助台委派介绍 虽然Office 365允许您在全球任何地方工作,但它提供的管理功能十分不足.当一个组织分布在多个国家/地区时,一个管理员很难单独管理所有用户和邮箱. ...

  4. ABP框架系列之五十一:(Timing-定时)

    Introduction While some applications target a single timezone, some others target to many different ...

  5. & 引用

    核心: 对引用的操作与对变量直接操作完全一样注意点: 引用并非是地址运算符 编译器一般将引用看作是const指针,即只占用指针大小空间 引用只能在初始化的时候引用一次 ,不能更改为转而引用其他变量.使 ...

  6. Struts2学习第三天——保存登陆信息及数据校验

    在JSP中服务器端保存数据的作用域通常有request.session.application,它们对应的Servlet API分别是HttpServletRquerst.HttpSession.Se ...

  7. Chapter7 抑癌基因

    一.实验证明,如果肿瘤不是肿瘤病毒产生时,与正常细胞融合后,其恶性表型是隐形的 二. 家族性视网膜母细胞瘤的形成模型 如何使得一个细胞获得两个突变(两次随机的突变可能性太小) 模型一:有丝分裂的同源重 ...

  8. CCNA笔记

    *****************交换机********************一:交换机:具有多个交换端口,专用集成电路技术使得交换器以线路速率在所有的端口并行转发数据,有很高的总体吞吐率;虚拟网V ...

  9. shell 命令 zip unzip

    工作当中,经常要用到zip压缩. zip 将文件夹打包: 如文件夹名 xxx zip -r xxx.zip xxx unzip unzip -o xxx.zip -o 覆盖原有的文件夹 查询更多参数: ...

  10. CPP全面总结(涵盖C++11标准)

    OOP之类和对象 1. this指针的引入 每个成员函数都有一个额外的隐含的形参,这个参数就是this指针,它指向调用对象的地址.默认情况下,this的类型是指向类类型非常量版本的常量指针.可以表示成 ...