Examples of sourceName()


Examples of com.sun.jdi.Location.sourceName()

        }
       
        public HandlerResult handle(StepEvent event) throws Exception {
            Location location = event.location();
            if (this.within != null
                    && !this.within.equals(location.sourceName())) {
                return HandlerResult.RESUME;
            }
           
            if (logger != null) {
                logger.log(event);
View Full Code Here

Examples of net.sourceforge.htmlunit.corejs.javascript.EcmaError.sourceName()

                printWriter.print("] lineSource=[");
                printWriter.print(getFailingLine());
                printWriter.print("] name=[");
                printWriter.print(ecmaError.getName());
                printWriter.print("] sourceName=[");
                printWriter.print(ecmaError.sourceName());
                printWriter.print("] message=[");
                printWriter.print(ecmaError.getMessage());
                printWriter.print("]");
                printWriter.println();
            }
View Full Code Here

Examples of net.sourceforge.javautil.database.encryption.annotation.EncryptionConfig.sourceName()

    }
   
    EncryptionConfig config = clazz.getAnnotation(EncryptionConfig.class);
    byte[] key = null;
    if (config != null && config.source() == Source.PASSWORD_LOCKER) {
      if ("".equals( config.sourceName() )) throw new IllegalArgumentException("Password locker source name must be provider for: " + clazz);
      if (PasswordContext.get() == null) throw new IllegalStateException("No password locker available for the current context");
     
      IPassword pw = PasswordContext.get().getPassword(config.sourceName());
      if (pw == null) throw new IllegalArgumentException("No such password in current context locker: " + config.sourceName());
     
View Full Code Here

Examples of net.sourceforge.javautil.database.encryption.annotation.EncryptionConfig.sourceName()

    byte[] key = null;
    if (config != null && config.source() == Source.PASSWORD_LOCKER) {
      if ("".equals( config.sourceName() )) throw new IllegalArgumentException("Password locker source name must be provider for: " + clazz);
      if (PasswordContext.get() == null) throw new IllegalStateException("No password locker available for the current context");
     
      IPassword pw = PasswordContext.get().getPassword(config.sourceName());
      if (pw == null) throw new IllegalArgumentException("No such password in current context locker: " + config.sourceName());
     
      key = pw.getPassword();
    } else {
      ClassProperty property = clazz.getProperty(EncryptionKey.class);
View Full Code Here

Examples of net.sourceforge.javautil.database.encryption.annotation.EncryptionConfig.sourceName()

    if (config != null && config.source() == Source.PASSWORD_LOCKER) {
      if ("".equals( config.sourceName() )) throw new IllegalArgumentException("Password locker source name must be provider for: " + clazz);
      if (PasswordContext.get() == null) throw new IllegalStateException("No password locker available for the current context");
     
      IPassword pw = PasswordContext.get().getPassword(config.sourceName());
      if (pw == null) throw new IllegalArgumentException("No such password in current context locker: " + config.sourceName());
     
      key = pw.getPassword();
    } else {
      ClassProperty property = clazz.getProperty(EncryptionKey.class);
      if (property == null) throw new IllegalStateException("No encryption key property available for: " + clazz);
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.sourceName()

        return new String(typeVariableBinding.sourceName);

      case Binding.PARAMETERIZED_TYPE :
        ParameterizedTypeBinding parameterizedTypeBinding = (ParameterizedTypeBinding) this.binding;
        buffer = new StringBuffer();
        buffer.append(parameterizedTypeBinding.sourceName());
        ITypeBinding[] tArguments = getTypeArguments();
        final int typeArgumentsLength = tArguments.length;
        if (typeArgumentsLength != 0) {
          buffer.append('<');
          for (int i = 0; i < typeArgumentsLength; i++) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ParameterizedTypeBinding.sourceName()

        if (isMember()) {
          buffer
            .append(getDeclaringClass().getQualifiedName())
            .append('.');
          ParameterizedTypeBinding parameterizedTypeBinding = (ParameterizedTypeBinding) this.binding;
          buffer.append(parameterizedTypeBinding.sourceName());
          ITypeBinding[] tArguments = getTypeArguments();
          final int typeArgumentsLength = tArguments.length;
          if (typeArgumentsLength != 0) {
            buffer.append('<');
            for (int i = 0; i < typeArgumentsLength; i++) {
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.sourceName()

          contents[contentsOffset++] = 0;
          contents[contentsOffset++] = 0;
        }
        // name index
        if (!innerClass.isAnonymousType()) {
          int nameIndex = constantPool.literalIndex(innerClass.sourceName());
          contents[contentsOffset++] = (byte) (nameIndex >> 8);
          contents[contentsOffset++] = (byte) nameIndex;
        } else {
          // equals to 0 if the innerClass is an anonymous type
          contents[contentsOffset++] = 0;
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.sourceName()

        // does not exist
        return null;
      }
    } else if (referenceBinding.isTypeVariable()) {
      // type parameter
      final String typeVariableName = new String(referenceBinding.sourceName());
      Binding declaringElement = ((TypeVariableBinding) referenceBinding).declaringElement;
      IBinding declaringTypeBinding = null;
      if (declaringElement instanceof MethodBinding) {
        declaringTypeBinding = this.resolver.getMethodBinding((MethodBinding) declaringElement);
        IMethod declaringMethod = (IMethod) declaringTypeBinding.getJavaElement();
View Full Code Here

Examples of org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding.sourceName()

          if (classFile == null) return null;
          return (JavaElement) classFile.getType();
        }
        ICompilationUnit cu = getCompilationUnit(fileName);
        if (cu == null) return null;
        return (JavaElement) cu.getType(new String(referenceBinding.sourceName()));
      } else {
        // member type
        IType declaringType = (IType) declaringTypeBinding.getJavaElement();
        if (declaringType == null) return null;
        return (JavaElement) declaringType.getType(new String(referenceBinding.sourceName()));
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.