import {Member} from "../Reflect/Interfaces"; import {Method} from "../Reflect/Method"; import {Field} from "../Reflect/Field"; import {Constructor} from "../Constructor"; import {propertiesDescriptor} from "../decorator/DecoratorInterfaces"; import {Parameter} from "../Reflect/Parameter"; export interface AnnotationTarget{ getProperty(): string isStaticMember():boolean getReflector(): O } export interface MethodAnnotation extends AnnotationTarget{} export interface AttributeAnnotation extends AnnotationTarget{} export interface ParameterAnnotation extends AnnotationTarget{ getIndex():number } // export interface Invokable{ invoke(annotationAccessor:AnnotationTarget):void } export interface AccessorType { getConstructor():Constructor getType():number } /*NestedInterface*/ export interface IAccessorType extends AccessorType{} /**/ export interface DecoratorClazz{ (constructor:Function):void } export interface AttributeDecoratorRef{ (constructor:T, propertyName:string ):void } export interface AttributeDecorator{ (constructor:Object, propertyName:string ):void } export interface StaticAttributeDecorator{ (constructor:Function,propertyName:string ):void } export interface MethodDecorator{ (target: T, propertiesTarget: string, descriptor: propertiesDescriptor):void } export interface ParameterDecorator{ (target: T, propertiesTarget: string, index:number):void }