Java Code Examples for groovy.lang.MetaClassImpl#getVersion()

The following examples show how to use groovy.lang.MetaClassImpl#getVersion() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: GetEffectivePojoPropertySite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public GetEffectivePojoPropertySite(CallSite site, MetaClassImpl metaClass, MetaProperty effective) {
    super(site);
    this.metaClass = metaClass;
    this.effective = effective;
    version = metaClass.getVersion();
}
 
Example 2
Source File: ConstructorMetaMethodSite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public ConstructorMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod method, Class [] params) {
    super(site, metaClass, method, params);
    this.version = metaClass.getVersion();
}
 
Example 3
Source File: StaticMetaMethodSite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public StaticMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) {
    super(site, metaClass, metaMethod, params);
    version = metaClass.getVersion ();
}
 
Example 4
Source File: PojoMetaMethodSite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public PojoMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) {
    super(site, metaClass, metaMethod, params);
    version = metaClass.getVersion();
}
 
Example 5
Source File: PogoMetaMethodSite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public PogoMetaMethodSite(CallSite site, MetaClassImpl metaClass, MetaMethod metaMethod, Class[] params) {
    super(site, metaClass, metaMethod, params);
    version = metaClass.getVersion();
    skipVersionCheck = metaClass.getClass()==MetaClassImpl.class;
}
 
Example 6
Source File: ConstructorSite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public ConstructorSite(CallSite site, MetaClassImpl metaClass, CachedConstructor constructor, Class[] params) {
    super(site, metaClass);
    this.constructor = constructor;
    this.params = params;
    this.version = metaClass.getVersion();
}
 
Example 7
Source File: GetEffectivePojoFieldSite.java    From groovy with Apache License 2.0 4 votes vote down vote up
public GetEffectivePojoFieldSite(CallSite site, MetaClassImpl metaClass, CachedField effective) {
    super(site);
    this.metaClass = metaClass;
    this.effective = effective.getCachedField();
    version = metaClass.getVersion();
}