Java Reflection Interface Get addInterfaceName(String name)

Here you can find the source of addInterfaceName(String name)

Description

add Interface Name

License

Open Source License

Declaration

public static String addInterfaceName(String name) 

Method Source Code

//package com.java2s;
/*******************************************************************************
 * Copyright (c) 2010 Tom Seidel, Remus Software
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 *
 * Contributors://from  ww  w .j  ava2s. c om
 *     Tom Seidel - initial API and implementation
 *******************************************************************************/

import java.util.ArrayList;

import java.util.List;

public class Main {
    public static List<String> interfaceNames = new ArrayList<String>();

    public static String addInterfaceName(String name) {
        interfaceNames.add(name);
        return null;
    }
}

Related

  1. equalInterfaces(Object obj1, Object obj2)
  2. getAllClassesAndInterfaces(Class startClass)
  3. getAllInterfaces(Class clazz)
  4. getAllInterfaces(Class clazz)