Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
Copyright (C) 2013 John Casey. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. /
 
 package org.commonjava.vertx.vabr.anno.proc;
 
 
 
 public abstract class AbstractTemplateInfo
 {
 
     private final int priority;
 
     private final String packagename;
 
     private final String qualifiedClassname;
 
     private final String classname;
 
     private final String methodname;
 
     private final Method httpMethod;
 
     private final String httpPath;
 
     private final String handlerKey;
 
     protected AbstractTemplateInfofinal Element elemfinal Handles handlesfinal int priorityfinal Method methodfinal String path,
                                     final String defPath )
     {
         this. = priority;
         this. = method;
         this. = AnnotationUtils.pathOfhandlespathdefPath );
         // it only applies to methods...
         final ExecutableElement eelem = (ExecutableElementelem;
 
          = eelem.getSimpleName()
                           .toString();
 
         final TypeElement cls = (TypeElementeelem.getEnclosingElement();
         final PackageElement pkg = (PackageElementcls.getEnclosingElement();
 
          = cls.getQualifiedName()
                                 .toString();
 
          = cls.getSimpleName()
                        .toString();
 
          = pkg.getQualifiedName()
                          .toString();
 
         this. = AnnotationUtils.getHandlerKeyhandles );
     }
 
     public String getPackagename()
     {
         return ;
     }
 
     public String getQualifiedClassname()
     {
         return ;
     }
 
     public String getClassname()
     {
         return ;
     }
 
     public String getMethodname()
     {
         return ;
     }
 
     public Method getHttpMethod()
     {
         return ;
     }
 
     public String getHttpPath()
    {
        return ;
    }
    public int getPriority()
    {
        return ;
    }
    public String getHandlerKey()
    {
        return ;
    }
New to GrepCode? Check out our FAQ X