Examples of Scope


Examples of anvil.script.Scope

    Context context = unserializer.getContext();
    unserializer.consume('s');
    String classname = unserializer.getUTF16String();
    unserializer.consume('s');
    String pathinfo = unserializer.getUTF16String();
    Scope scope = context.import_(pathinfo);
    AnyClass self = null;
    Type type = anvil.script.Grammar.follow(scope, classname);
    if (type != null) {
      if (type.getType() == Type.CLASS) {
        self = ((ClassType)type).newInstance();
View Full Code Here

Examples of cascading.flow.planner.Scope

  @Override
  public void initialize()
    {
    super.initialize();

    Scope outgoingScope = Util.getFirst( outgoingScopes );
    valueEntry = new TupleEntry( outgoingScope.getOutValuesFields(), true );
    }
View Full Code Here

Examples of ch.qos.logback.core.joran.action.ActionUtil.Scope

    int errorCount = 0;
    String envEntryName = ec.subst(attributes.getValue(ENV_ENTRY_NAME_ATTR));
    String asKey = ec.subst(attributes.getValue(AS_ATTR));

    String scopeStr = attributes.getValue(SCOPE_ATTRIBUTE);
    Scope scope = ActionUtil.stringToScope(scopeStr);

    String envEntryValue;
   
    if(OptionHelper.isEmpty(envEntryName)) {
      String lineColStr = getLineColStr(ec);
View Full Code Here

Examples of cn.wensiqun.asmsupport.utils.Scope

        this.insnHelper = new CommonInstructionHelper(this);
       
        if(!ModifierUtils.isAbstract(me.getModifier())){
            // 设置method属性
            this.methodBody = methodBody;
            this.methodBody.setScope(new Scope(this.locals, null));
            this.methodBody.setOwnerBlock(null);
            this.methodBody.setInsnHelper(insnHelper);
          methodOwner = context.getCurrentClass();
        }
    }
View Full Code Here

Examples of code.satyagraha.gfm.di.Component.Scope

        @Override
        protected Object getGroupValue(Object object) {
            Class<?> component = (Class<?>) object;
            Component annotation = component.getAnnotation(Component.class);
            Scope scope = annotation.value();
            return scope;
        }
View Full Code Here

Examples of com.buschmais.jqassistant.core.scanner.api.Scope

                        throw new UnsupportedOperationException("remove");
                    }
                };
            }
        };
        final Scope scope = createScope(currentScope);
        MappingIterable<ZipEntry, Iterable<? extends FileDescriptor>> fileDescriptors = new MappingIterable<ZipEntry, Iterable<? extends FileDescriptor>>(
                zipEntries) {
            @Override
            protected Iterable<? extends FileDescriptor> map(ZipEntry zipEntry) throws IOException {
                String name = "/" + zipEntry.getName();
View Full Code Here

Examples of com.creativewidgetworks.goldparser.parser.Scope

        }
    }

    @Override
    public Variable getValue() {
        Scope newScope = new Scope(Function.FUNCTION_PREFIX + functionName, theParser.getCurrentScope());
        Scope oldScope = theParser.setCurrentScope(newScope);

        try {
            // Retrieve the function Reduction, set parameters, and execute the function
            Variable var = theParser.getProgramVariable(Function.FUNCTION_PREFIX + functionName);
            if (var != null) {
View Full Code Here

Examples of com.dietsodasoftware.yail.oauth2.client.Scope

        final String rawScopeNames = rawScope.substring(0,barIndex);

        final String[] scopeNames = rawScopeNames.split(" ");
        final List<Scope> scopes = new LinkedList<Scope>();
        for(String scopeName: scopeNames){
            final Scope scope = Scope.fromScopeName(scopeName);
            if(scope != null){
                scopes.add(scope);
            }
        }
View Full Code Here

Examples of com.gemstone.gemfire.cache.Scope

      }
    });

    when(regionFactory.setScope(any(Scope.class))).thenAnswer(new Answer<RegionFactory>(){
      @Override public RegionFactory answer(InvocationOnMock invocation) throws Throwable {
        Scope scope = (Scope) invocation.getArguments()[0];
        attributesFactory.setScope(scope);
        return regionFactory;
      }
    });
View Full Code Here

Examples of com.github.overengineer.container.scope.Scope

    @Override
    public <T> ComponentStrategy<T> create(Class<T> implementationType, Object qualifier, Scope scope) {
        ComponentInjector<T> injector = injectorFactory.create(implementationType);
        Instantiator<T> instantiator = instantiatorFactory.create(implementationType);
        Scope theScope = metadataAdapter.getScope(implementationType);
        if (theScope != null) {
            if (!Scopes.SINGLETON.equals(scope)) {
                throw new IllegalStateException("The class [" + implementationType.getName() + "] is annotated with a scope but also has a scope specified in a module.  One approach must be chosen.");
            }
        } else {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.