< prev index next >

src/com/sun/org/apache/bcel/internal/generic/FieldGenOrMethodGen.java

Print this page
rev 2127 : 8162572: Update License Header for all JAXP sources
Reviewed-by: lancea
   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */

















   5 package com.sun.org.apache.bcel.internal.generic;
   6 import com.sun.org.apache.bcel.internal.Constants;
   7 
   8 /* ====================================================================
   9  * The Apache Software License, Version 1.1
  10  *
  11  * Copyright (c) 2001 The Apache Software Foundation.  All rights
  12  * reserved.
  13  *
  14  * Redistribution and use in source and binary forms, with or without
  15  * modification, are permitted provided that the following conditions
  16  * are met:
  17  *
  18  * 1. Redistributions of source code must retain the above copyright
  19  *    notice, this list of conditions and the following disclaimer.
  20  *
  21  * 2. Redistributions in binary form must reproduce the above copyright
  22  *    notice, this list of conditions and the following disclaimer in
  23  *    the documentation and/or other materials provided with the
  24  *    distribution.
  25  *
  26  * 3. The end-user documentation included with the redistribution,
  27  *    if any, must include the following acknowledgment:
  28  *       "This product includes software developed by the
  29  *        Apache Software Foundation (http://www.apache.org/)."
  30  *    Alternately, this acknowledgment may appear in the software itself,
  31  *    if and wherever such third-party acknowledgments normally appear.
  32  *
  33  * 4. The names "Apache" and "Apache Software Foundation" and
  34  *    "Apache BCEL" must not be used to endorse or promote products
  35  *    derived from this software without prior written permission. For
  36  *    written permission, please contact apache@apache.org.
  37  *
  38  * 5. Products derived from this software may not be called "Apache",
  39  *    "Apache BCEL", nor may "Apache" appear in their name, without
  40  *    prior written permission of the Apache Software Foundation.
  41  *
  42  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  43  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  44  * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  45  * DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  46  * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  47  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  48  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  49  * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  50  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  51  * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  52  * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  53  * SUCH DAMAGE.
  54  * ====================================================================
  55  *
  56  * This software consists of voluntary contributions made by many
  57  * individuals on behalf of the Apache Software Foundation.  For more
  58  * information on the Apache Software Foundation, please see
  59  * <http://www.apache.org/>.
  60  */
  61 
  62 import com.sun.org.apache.bcel.internal.classfile.*;
  63 import java.util.ArrayList;
  64 
  65 /**
  66  * Super class for FieldGen and MethodGen objects, since they have
  67  * some methods in common!
  68  *
  69  * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  70  */
  71 public abstract class FieldGenOrMethodGen extends AccessFlags
  72   implements NamedAndTyped, Cloneable
  73 {
  74   protected String          name;
  75   protected Type            type;
  76   protected ConstantPoolGen cp;
  77   private   ArrayList       attribute_vec = new ArrayList();
  78 
  79   protected FieldGenOrMethodGen() {}
  80 


   1 /*
   2  * reserved comment block
   3  * DO NOT REMOVE OR ALTER!
   4  */
   5 /*
   6  * Licensed to the Apache Software Foundation (ASF) under one or more
   7  * contributor license agreements.  See the NOTICE file distributed with
   8  * this work for additional information regarding copyright ownership.
   9  * The ASF licenses this file to You under the Apache License, Version 2.0
  10  * (the "License"); you may not use this file except in compliance with
  11  * the License.  You may obtain a copy of the License at
  12  *
  13  *      http://www.apache.org/licenses/LICENSE-2.0
  14  *
  15  * Unless required by applicable law or agreed to in writing, software
  16  * distributed under the License is distributed on an "AS IS" BASIS,
  17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  18  * See the License for the specific language governing permissions and
  19  * limitations under the License.
  20  */
  21 
  22 package com.sun.org.apache.bcel.internal.generic;
  23 import com.sun.org.apache.bcel.internal.Constants;
  24 





















































  25 
  26 import com.sun.org.apache.bcel.internal.classfile.*;
  27 import java.util.ArrayList;
  28 
  29 /**
  30  * Super class for FieldGen and MethodGen objects, since they have
  31  * some methods in common!
  32  *
  33  * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
  34  */
  35 public abstract class FieldGenOrMethodGen extends AccessFlags
  36   implements NamedAndTyped, Cloneable
  37 {
  38   protected String          name;
  39   protected Type            type;
  40   protected ConstantPoolGen cp;
  41   private   ArrayList       attribute_vec = new ArrayList();
  42 
  43   protected FieldGenOrMethodGen() {}
  44 


< prev index next >