diff options
Diffstat (limited to 'plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/jdt/JdtStaticPropertyImpl.java')
-rw-r--r-- | plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/jdt/JdtStaticPropertyImpl.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/jdt/JdtStaticPropertyImpl.java b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/jdt/JdtStaticPropertyImpl.java new file mode 100644 index 00000000..6c3a177e --- /dev/null +++ b/plugins/org.eclipse.xtend.shared.ui/src/org/eclipse/xtend/shared/ui/core/metamodel/jdt/JdtStaticPropertyImpl.java @@ -0,0 +1,31 @@ +/* + * <copyright> + * + * Copyright (c) 2005-2006 Sven Efftinge (http://www.efftinge.de) and others. + * 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: + * Sven Efftinge (http://www.efftinge.de) - Initial API and implementation + * + * </copyright> + */ +package org.eclipse.xtend.shared.ui.core.metamodel.jdt; + +import org.eclipse.internal.xtend.type.baseimpl.StaticPropertyImpl; +import org.eclipse.xtend.typesystem.Type; + +public class JdtStaticPropertyImpl extends StaticPropertyImpl { + private Object constant; + + public JdtStaticPropertyImpl(final Type owner, final String name, final Type returnType, final Object constant) { + super(owner, name, returnType); + this.constant = constant; + } + + public Object get() { + return constant; + } +}
\ No newline at end of file |