Package org.aspectj.weaver

Examples of org.aspectj.weaver.MemberKind


    ModifiersPattern modifiers = parseModifiersPattern();
    TypePattern returnType = parseTypePattern(false, false);

    TypePattern declaringType;
    NamePattern name = null;
    MemberKind kind;
    // here we can check for 'new'
    if (maybeEatNew(returnType)) {
      kind = Member.CONSTRUCTOR;
      if (returnType.toString().length() == 0) {
        declaringType = TypePattern.ANY;
View Full Code Here


  public ResolvedMemberImpl makeResolvedMember(MethodBinding binding) {
    return makeResolvedMember(binding, binding.declaringClass);
  }

  public ResolvedMemberImpl makeResolvedMember(MethodBinding binding, Shadow.Kind shadowKind) {
    MemberKind memberKind = binding.isConstructor() ? Member.CONSTRUCTOR : Member.METHOD;
    if (shadowKind == Shadow.AdviceExecution) {
      memberKind = Member.ADVICE;
    }
    return makeResolvedMember(binding, binding.declaringClass, memberKind);
  }
View Full Code Here

    ModifiersPattern modifiers = parseModifiersPattern();
    TypePattern returnType = parseTypePattern(false, false);

    TypePattern declaringType;
    NamePattern name = null;
    MemberKind kind;
    // here we can check for 'new'
    if (maybeEatNew(returnType)) {
      kind = Member.CONSTRUCTOR;
      if (returnType.toString().length() == 0) {
        declaringType = TypePattern.ANY;
View Full Code Here

    writeLocation(s);
  }

  public static SignaturePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException {
    // ISignaturePattern kind should already have been read by the time this read is entered
    MemberKind kind = MemberKind.read(s);
    ModifiersPattern modifiers = ModifiersPattern.read(s);
    TypePattern returnType = TypePattern.read(s, context);
    TypePattern declaringType = TypePattern.read(s, context);
    NamePattern name = NamePattern.read(s);
    TypePatternList parameterTypes = TypePatternList.read(s, context);
View Full Code Here

    ModifiersPattern modifiers = parseModifiersPattern();
    TypePattern returnType = parseTypePattern(false, false);

    TypePattern declaringType;
    NamePattern name = null;
    MemberKind kind;
    // here we can check for 'new'
    if (maybeEatNew(returnType)) {
      kind = Member.CONSTRUCTOR;
      if (returnType.toString().length() == 0) {
        declaringType = TypePattern.ANY;
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.MemberKind

Copyright © 2018 www.massapicom. 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.